Annotation Interface PartitionRegion.FixedPartition

Enclosing class:
PartitionRegion

public static @interface PartitionRegion.FixedPartition
PartitionRegion.FixedPartition defined fixed partition meta-data within a DataPolicy.PARTITION Region.
See Also:
  • FixedPartitionAttributes
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Name of the fixed partition.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    Defines the number of bucket in this partition.
    boolean
    Set whether this partition is the primary partition in the DataPolicy.PARTITION Region.
  • Element Details

    • name

      String name
      Name of the fixed partition.
    • primary

      boolean primary
      Set whether this partition is the primary partition in the DataPolicy.PARTITION Region. Defaults to false.
      Default:
      false
    • numBuckets

      int numBuckets
      Defines the number of bucket in this partition. Defaults to 1.
      Default:
      1