Interface BackupIdentifierWildcard

All Known Implementing Classes:
BackupIdentifierWildcardImpl

public interface BackupIdentifierWildcard
Similar to BackupIdentifier but fields that are omitted should be interpreted as a wildcard.
  • Method Details

    • nodeId

      Optional<Integer> nodeId()
      Returns:
      id of the broker which took this backup.
    • partitionId

      Optional<Integer> partitionId()
      Returns:
      id of the partition of which the backup is taken
    • checkpointId

      Optional<Long> checkpointId()
      Returns:
      id of the checkpoint included in the backup
    • matches

      boolean matches(BackupIdentifier id)
      Predicate that tries to match an id to this wildcard.
      Returns:
      true if the given id matches the wildcard, otherwise false.