NamedPartitionInformation Class
- java.
lang. Object - ServicePartitionInformation
- system.
fabric. NamedPartitionInformation
- system.
public class NamedPartitionInformation extends ServicePartitionInformation
Describes the partition information for the name as a string that is based on partition schemes. Services observe this type of ServicePartitionInformation when the service is created with the system.fabric.NamedPartitionInformation derives from the ServicePartition interface and is provided to services as part of the StatefulServicePartition or StatelessServicePartition interface, which is passed in during the stateful openAsync(ReplicaOpenMode openMode, StatefulServicePartition partition, CancellationToken cancellationToken) or the stateless openAsync(StatelessServicePartition partition, CancellationToken cancellationToken).
Modifier and Type | Method and Description |
---|---|
String |
get Indicates the name of this partition of the service. |
String |
to Prints the name of the partition, partition id and kind. |
getName
public String getName()
Indicates the name of this partition of the service.
Returns:
toString
public String toString()
Prints the name of the partition, partition id and kind.
Azure SDK for Java geri bildirimi
Azure SDK for Java, açık kaynak bir projedir. Geri bildirim sağlamak için bir bağlantı seçin: