Class CollectionConfigPackage.CollectionConfig

  • Enclosing class:
    CollectionConfigPackage


    public static class CollectionConfigPackage.CollectionConfig
    extends java.lang.Object
    Collection information.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getBlockToLive​()
      Block to live.
      org.hyperledger.fabric.protos.common.Collection.CollectionConfig getCollectionConfig​()
      The collection information returned directly from the peer.
      int getMaximumPeerCount​()
      Minimum peer count.
      java.lang.String getName​()
      Name of the collection.
      int getRequiredPeerCount​()
      return required peer
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getName

        public java.lang.String getName​()
        Name of the collection.
        Returns:
      • getRequiredPeerCount

        public int getRequiredPeerCount​()
        return required peer
        Returns:
        required peer count.
      • getMaximumPeerCount

        public int getMaximumPeerCount​()
        Minimum peer count.
        Returns:
        minimum peer count.
      • getBlockToLive

        public long getBlockToLive​()
        Block to live.
        Returns:
        block to live.
      • getCollectionConfig

        public org.hyperledger.fabric.protos.common.Collection.CollectionConfig getCollectionConfig​()
        The collection information returned directly from the peer.
        Returns:
        The collection information returned directly from the peer.