Class PartitionHashRecord

    • Constructor Detail

      • PartitionHashRecord

        public PartitionHashRecord​(PartitionKey partKey,
                                   boolean isPrimary,
                                   Object consistentId,
                                   int partHash,
                                   long updateCntr,
                                   long size)
        Parameters:
        partKey - Partition key.
        isPrimary - Is primary.
        consistentId - Consistent id.
        partHash - Partition hash.
        updateCntr - Update counter.
        size - Size.
    • Method Detail

      • partitionKey

        public PartitionKey partitionKey()
        Returns:
        Partition key.
      • isPrimary

        public boolean isPrimary()
        Returns:
        Is primary.
      • consistentId

        public Object consistentId()
        Returns:
        Consistent id.
      • partitionHash

        public int partitionHash()
        Returns:
        Partition hash.
      • updateCounter

        public long updateCounter()
        Returns:
        Update counter.
      • size

        public long size()
        Returns:
        Size.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object