Interface TransferEvent.RecoveryTransferEvent

  • All Superinterfaces:
    Event<TransferEvent.Type>, Event<TransferEvent.Type>, TransferEvent
    Enclosing interface:
    TransferEvent

    public static interface TransferEvent.RecoveryTransferEvent
    extends TransferEvent
    A RecoveryTransferEvent is raised due to the recovery of a partition from a persistent store.

    The cause of this event can be due to either active persistence recovery or recovery from a snapshot. This can be distinguished by the snapshot name being null or non-null for active persistence recovery or snapshot recovery respectively.

    • Method Detail

      • getSnapshotName

        String getSnapshotName()
        Return the name of the snapshot if the partition was recovered from a snapshot and not active persistence.
        Returns:
        the name of the snapshot the partition was recovered from or null in the case of active persistence