Package org.infinispan.functional.impl
Class FunctionalMapImpl<K,V>
- java.lang.Object
-
- org.infinispan.functional.impl.FunctionalMapImpl<K,V>
-
- All Implemented Interfaces:
AutoCloseable
,FunctionalMap<K,V>
@Experimental public final class FunctionalMapImpl<K,V> extends Object implements FunctionalMap<K,V>
Functional map implementation.- Since:
- 8.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.infinispan.functional.FunctionalMap
FunctionalMap.ReadOnlyMap<K,V>, FunctionalMap.ReadWriteMap<K,V>, FunctionalMap.WriteOnlyMap<K,V>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Cache<K,V>
cache()
void
close()
static <K,V>
FunctionalMapImpl<K,V>create(AdvancedCache<K,V> cache)
static <K,V>
FunctionalMapImpl<K,V>create(Params params, AdvancedCache<K,V> cache)
String
getName()
Functional map's name.ComponentStatus
getStatus()
Functional map's status.FunctionalMapImpl<K,V>
withParams(Param<?>... ps)
Tweak functional map executions providingParam
instances.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.infinispan.functional.FunctionalMap
isEncoded
-
-
-
-
Method Detail
-
create
public static <K,V> FunctionalMapImpl<K,V> create(Params params, AdvancedCache<K,V> cache)
-
create
public static <K,V> FunctionalMapImpl<K,V> create(AdvancedCache<K,V> cache)
-
withParams
public FunctionalMapImpl<K,V> withParams(Param<?>... ps)
Description copied from interface:FunctionalMap
Tweak functional map executions providingParam
instances.- Specified by:
withParams
in interfaceFunctionalMap<K,V>
-
getName
public String getName()
Description copied from interface:FunctionalMap
Functional map's name.- Specified by:
getName
in interfaceFunctionalMap<K,V>
-
getStatus
public ComponentStatus getStatus()
Description copied from interface:FunctionalMap
Functional map's status.- Specified by:
getStatus
in interfaceFunctionalMap<K,V>
-
close
public void close() throws Exception
- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-
-