public static class CollectionSnapshotMetaData.CoreSnapshotMetaData extends Object implements org.noggit.JSONWriter.Writable
Constructor and Description |
---|
CoreSnapshotMetaData(NamedList resp) |
CoreSnapshotMetaData(String coreName,
String indexDirPath,
long generationNumber,
String shardId,
boolean leader,
Collection<String> files) |
Modifier and Type | Method and Description |
---|---|
String |
getCoreName() |
Collection<String> |
getFiles() |
long |
getGenerationNumber() |
String |
getIndexDirPath() |
String |
getShardId() |
boolean |
isLeader() |
NamedList |
toNamedList() |
void |
write(org.noggit.JSONWriter arg0) |
public CoreSnapshotMetaData(String coreName, String indexDirPath, long generationNumber, String shardId, boolean leader, Collection<String> files)
public CoreSnapshotMetaData(NamedList resp)
public String getCoreName()
public String getIndexDirPath()
public long getGenerationNumber()
public Collection<String> getFiles()
public String getShardId()
public boolean isLeader()
public void write(org.noggit.JSONWriter arg0)
write
in interface org.noggit.JSONWriter.Writable
public NamedList toNamedList()
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.