Package org.infinispan.functional
Class MetaParam.MetaLong
- java.lang.Object
-
- org.infinispan.functional.MetaParam.MetaLong
-
- All Implemented Interfaces:
MetaParam<java.lang.Long>
- Direct Known Subclasses:
MetaParam.MetaCreated
,MetaParam.MetaLastUsed
,MetaParam.MetaLifespan
,MetaParam.MetaMaxIdle
public abstract static class MetaParam.MetaLong extends java.lang.Object implements MetaParam<java.lang.Long>
Abstract class for numeric long-based metadata parameter instances.- Since:
- 8.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.infinispan.functional.MetaParam
MetaParam.Lookup, MetaParam.MetaCreated, MetaParam.MetaEntryVersion, MetaParam.MetaLastUsed, MetaParam.MetaLifespan, MetaParam.MetaLoadedFromPersistence, MetaParam.MetaLong, MetaParam.MetaMaxIdle, MetaParam.Writable<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected long
value
-
Constructor Summary
Constructors Constructor Description MetaLong(long value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.Long
get()
Returns the value of the meta parameter.int
hashCode()
-
-
-
Method Detail
-
get
public java.lang.Long get()
Description copied from interface:MetaParam
Returns the value of the meta parameter.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-