Class RetentionLeaseStats

    • Constructor Detail

      • RetentionLeaseStats

        public RetentionLeaseStats​(RetentionLeases retentionLeases)
        Constructs a new retention lease stats object from the specified retention lease collection.
        Parameters:
        retentionLeases - the retention lease collection
      • RetentionLeaseStats

        public RetentionLeaseStats​(StreamInput in)
                            throws IOException
        Constructs a new retention lease stats object from a stream. The retention lease stats should have been written via writeTo(StreamOutput).
        Parameters:
        in - the stream to construct the retention lease stats from
        Throws:
        IOException - if an I/O exception occurs reading from the stream
    • Method Detail

      • retentionLeases

        public RetentionLeases retentionLeases()
        The underlying retention lease collection backing this stats object.
        Returns:
        the retention lease collection
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object