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 Details

    • 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 Details

    • 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:
      write in interface org.noggit.JSONWriter.Writable
    • toNamedList

      public org.apache.solr.common.util.NamedList<Object> toNamedList()