Class GridAbsClosure

  • All Implemented Interfaces:
    Serializable, Runnable, IgniteRunnable

    public abstract class GridAbsClosure
    extends Object
    implements IgniteRunnable
    Defines a convenient absolute, i.e. no-arg and no return value closure. This closure that has void return type and no arguments (free variables).

    Thread Safety

    Note that this interface does not impose or assume any specific thread-safety by its implementations. Each implementation can elect what type of thread-safety it provides, if any.
    See Also:
    GridFunc, Serialized Form
    • Constructor Detail

      • GridAbsClosure

        public GridAbsClosure()
    • Method Detail

      • apply

        public abstract void apply()
        Absolute closure body.
      • run

        public final void run()
        Delegates to apply() method.

        Specified by:
        run in interface Runnable