Package org.apache.solr.core.snapshots
Class CollectionSnapshotMetaData.CoreSnapshotMetaData
- java.lang.Object
-
- org.apache.solr.core.snapshots.CollectionSnapshotMetaData.CoreSnapshotMetaData
-
- All Implemented Interfaces:
org.noggit.JSONWriter.Writable
- Enclosing class:
- CollectionSnapshotMetaData
public static class CollectionSnapshotMetaData.CoreSnapshotMetaData extends Object implements org.noggit.JSONWriter.Writable
-
-
Constructor Summary
Constructors Constructor Description CoreSnapshotMetaData(String coreName, String indexDirPath, long generationNumber, String shardId, boolean leader, Collection<String> files)CoreSnapshotMetaData(org.apache.solr.common.util.NamedList<?> resp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCoreName()Collection<String>getFiles()longgetGenerationNumber()StringgetIndexDirPath()StringgetShardId()booleanisLeader()org.apache.solr.common.util.NamedList<Object>toNamedList()voidwrite(org.noggit.JSONWriter arg0)
-
-
-
Constructor Detail
-
CoreSnapshotMetaData
public CoreSnapshotMetaData(String coreName, String indexDirPath, long generationNumber, String shardId, boolean leader, Collection<String> files)
-
CoreSnapshotMetaData
public CoreSnapshotMetaData(org.apache.solr.common.util.NamedList<?> resp)
-
-
Method Detail
-
getCoreName
public String getCoreName()
-
getIndexDirPath
public String getIndexDirPath()
-
getGenerationNumber
public long getGenerationNumber()
-
getFiles
public Collection<String> getFiles()
-
getShardId
public String getShardId()
-
isLeader
public boolean isLeader()
-
write
public void write(org.noggit.JSONWriter arg0)
- Specified by:
writein interfaceorg.noggit.JSONWriter.Writable
-
toNamedList
public org.apache.solr.common.util.NamedList<Object> toNamedList()
-
-