Interface ContextSnapshotSupplier


  • public interface ContextSnapshotSupplier
    Interface for a Supplier of ContextSnapshot.

    Merely an equivalent of the functional interface java.util.Supplier<ContextSnapshot> in order to retain JDK 5 compatibility.

    Author:
    Sjoerd Talsma
    • Method Detail

      • get

        ContextSnapshot get()
        Supply a snapshot.

        The supplier interface itself makes no guarantees whether the snapshot is nullable or not.

        Returns:
        The context snapshot.