Class 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 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()
      • 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()