Class MetaParam.MetaLong

java.lang.Object
org.infinispan.functional.MetaParam.MetaLong
All Implemented Interfaces:
MetaParam<Long>
Direct Known Subclasses:
MetaParam.MetaCreated, MetaParam.MetaLastUsed, MetaParam.MetaLifespan, MetaParam.MetaMaxIdle
Enclosing interface:
MetaParam<T>

@Experimental public abstract static class MetaParam.MetaLong extends Object implements MetaParam<Long>
Abstract class for numeric long-based metadata parameter instances.
Since:
8.0
  • Field Details

    • value

      protected final long value
  • Constructor Details

    • MetaLong

      public MetaLong(long value)
  • Method Details

    • get

      public Long get()
      Description copied from interface: MetaParam
      Returns the value of the meta parameter.
      Specified by:
      get in interface MetaParam<Long>
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object