Class 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:
    Serialized Form
    • Method Detail

      • 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