Package org.hyperledger.fabric.sdk
Class CollectionConfigPackage.CollectionConfig
- java.lang.Object
-
- org.hyperledger.fabric.sdk.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
-
-
-
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.
-
-