Class StorageBucketId

java.lang.Object
com.pervasive.datarush.cal.StorageBucketId
All Implemented Interfaces:
Serializable

public final class StorageBucketId extends Object implements Serializable
A storage bucket represents one unit of work to be exchanged by nodes in the cluster. Storage buckets are unique in the scope of a single StorageManager.
See Also:
  • Method Details

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • subBucketId

      public StorageBucketId subBucketId(int childNumber)
      Returns a sub-bucket id of the given child number.
      Parameters:
      childNumber - the sub-bucket id
      Returns:
      the sub-bucket id
    • parse

      public static StorageBucketId parse(String str)
      Creates the ID from the string representation returned by toString()
      Parameters:
      str - the string representation
      Returns:
      the id
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object