Class CocoaJavaBridge.RunnableDispatcher

  • Enclosing class:
    CocoaJavaBridge

    private static class CocoaJavaBridge.RunnableDispatcher
    extends java.lang.Object
    A dispatch object to help facilitate asychronous script execution (from the main thread) in a more predictable fashion.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private RunnableDispatcher()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private void exec​(java.lang.Runnable runnable)
      Executes a Runnable object while synchronizing the RunnableDispatcher instance.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RunnableDispatcher

        private RunnableDispatcher()
    • Method Detail

      • exec

        private void exec​(java.lang.Runnable runnable)
        Executes a Runnable object while synchronizing the RunnableDispatcher instance.
        Parameters:
        runnable - A Runnable