Class ImmutableRrdRepository

  • All Implemented Interfaces:
    org.opennms.integration.api.v1.collectors.RrdRepository

    public final class ImmutableRrdRepository
    extends java.lang.Object
    implements org.opennms.integration.api.v1.collectors.RrdRepository
    An immutable implementation of RrdRepository that enforces deep immutability.
    • Method Detail

      • newBuilderFrom

        public static ImmutableRrdRepository.Builder newBuilderFrom​(org.opennms.integration.api.v1.collectors.RrdRepository rrdRepository)
      • immutableCopy

        public static org.opennms.integration.api.v1.collectors.RrdRepository immutableCopy​(org.opennms.integration.api.v1.collectors.RrdRepository rrdRepository)
      • getStep

        public int getStep()
        Specified by:
        getStep in interface org.opennms.integration.api.v1.collectors.RrdRepository
      • getHeartbeat

        public int getHeartbeat()
        Specified by:
        getHeartbeat in interface org.opennms.integration.api.v1.collectors.RrdRepository
      • getRRAs

        public java.util.List<java.lang.String> getRRAs()
        Specified by:
        getRRAs in interface org.opennms.integration.api.v1.collectors.RrdRepository
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object