Class TransportNodesListShardStoreMetadata.StoreFilesMetadata

org.elasticsearch.indices.store.TransportNodesListShardStoreMetadata.StoreFilesMetadata
All Implemented Interfaces:
<StoreFileMetadata>, Writeable
Enclosing class:
TransportNodesListShardStoreMetadata

public static class TransportNodesListShardStoreMetadata.StoreFilesMetadata extends implements <StoreFileMetadata>, Writeable
  • Constructor Details

  • Method Details

    • writeTo

      public void writeTo(StreamOutput out) throws
      Description copied from interface: Writeable
      Write this into the StreamOutput.
      Specified by:
      writeTo in interface Writeable
      Throws:
    • shardId

      public ShardId shardId()
    • isEmpty

      public boolean isEmpty()
    • iterator

      public <StoreFileMetadata> iterator()
      Specified by:
       in interface <StoreFileMetadata>
    • fileExists

      public boolean fileExists( name)
    • file

      public  name)
    • getPeerRecoveryRetentionLeaseRetainingSeqNo

      public long getPeerRecoveryRetentionLeaseRetainingSeqNo(DiscoveryNode node)
      Returns the retaining sequence number of the peer recovery retention lease for a given node if exists; otherwise, returns -1.
    • peerRecoveryRetentionLeases

      public <RetentionLease> peerRecoveryRetentionLeases()
    • syncId

      public  syncId()
      Returns:
      commit sync id if exists, else null
    • toString

      public  toString()
      Overrides:
       in class