Interface Continuation

All Superinterfaces:
Serializable
All Known Implementing Classes:
Continuation.Halt, Next

public interface Continuation extends Serializable
Represents the remaining computation that receives the result of Block.

To maintain backward compatibility with serialized Continuation objects, it is preferable to avoid anonymous single-method classes that implement Continuation. See ContinuationGroup for how to do this.

Author:
Kohsuke Kawaguchi
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    Singleton implementation that maintains the singleton-ness across serialization
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Continuation
    Indicates the end of a program.
  • Method Summary

    Modifier and Type
    Method
    Description
     
  • Field Details

    • HALT

      static final Continuation HALT
      Indicates the end of a program.
  • Method Details