public static class TransportNodesListShardStoreMetaData.StoreFilesMetaData extends java.lang.Object implements java.lang.Iterable<StoreFileMetaData>, Streamable
Constructor and Description |
---|
StoreFilesMetaData(ShardId shardId,
Store.MetadataSnapshot metadataSnapshot) |
Modifier and Type | Method and Description |
---|---|
StoreFileMetaData |
file(java.lang.String name) |
boolean |
fileExists(java.lang.String name) |
boolean |
isEmpty() |
java.util.Iterator<StoreFileMetaData> |
iterator() |
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
static TransportNodesListShardStoreMetaData.StoreFilesMetaData |
readStoreFilesMetaData(StreamInput in) |
ShardId |
shardId() |
java.lang.String |
syncId() |
java.lang.String |
toString() |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
public StoreFilesMetaData(ShardId shardId, Store.MetadataSnapshot metadataSnapshot)
public ShardId shardId()
public boolean isEmpty()
public java.util.Iterator<StoreFileMetaData> iterator()
iterator
in interface java.lang.Iterable<StoreFileMetaData>
public boolean fileExists(java.lang.String name)
public StoreFileMetaData file(java.lang.String name)
public static TransportNodesListShardStoreMetaData.StoreFilesMetaData readStoreFilesMetaData(StreamInput in) throws java.io.IOException
java.io.IOException
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
java.io.IOException
public java.lang.String syncId()
public java.lang.String toString()
toString
in class java.lang.Object