Package org.infinispan.functional
Functional API package
- Public API
-
Interface Summary Interface Description EntryView.ReadEntryView<K,V> Expose read-only information about a cache entry potentially associated with a key in the functional map.EntryView.ReadWriteEntryView<K,V> Expose information about a cache entry potentially associated with a key in the functional map, and allows that cache entry to be written with new value and/or new metadata parameters.EntryView.WriteEntryView<K,V> Expose a write-only facade for a cache entry potentially associated with a key in the functional map which allows the cache entry to be written with new value and/or new metadata parameters.FunctionalMap<K,V> Top level functional map interface offering common functionality for the read-only, read-write, and write-only operations that can be run against a functional map asynchronously.FunctionalMap.ReadOnlyMap<K,V> Exposes read-only operations that can be executed against the functional map.FunctionalMap.ReadWriteMap<K,V> Exposes read-write operations that can be executed against the functional map.FunctionalMap.WriteOnlyMap<K,V> Exposes write-only operations that can be executed against the functional map.Listeners.ReadWriteListeners<K,V> Read-write listeners enable users to register listeners for cache entry created, modified and removed events, and also register listeners for any cache entry write events.Listeners.ReadWriteListeners.ReadWriteListener<K,V> Read-write listenerListeners.WriteListeners<K,V> Write listeners enable user to register listeners for any cache entry write events that happen in either a read-write or write-only functional map.Listeners.WriteListeners.WriteListener<K,V> Write-only listener.MetaParam<T> An easily extensible metadata parameter that's stored along with the value in the the functional map.MetaParam.Lookup Provides metadata parameter lookup capabilities usingClass
as lookup key.MetaParam.Writable<T> WritableMetaParam
instances are those that the user can provide to be stored as part of the cache entry.Param<P> An easily extensible parameter that allows functional map operations to be tweaked.Traversable<T> Unsorted traversable stream for sequential and aggregating operations. -
Class Summary Class Description EntryView Entry views expose cached entry information to the user.Listeners Holder class for functional listener definitions.MetaParam.MetaCreated Read only metadata parameter representing a cached entry's created time in milliseconds.MetaParam.MetaEntryVersion Writable metadata parameter representing a cached entry's generic version.MetaParam.MetaLastUsed Read only metadata parameter representing a cached entry's last used time in milliseconds.MetaParam.MetaLifespan Writable metadata parameter representing a cached entry's millisecond lifespan.MetaParam.MetaLoadedFromPersistence Non-writable parameter telling if the entry was loaded from a persistence tier (CacheLoader
) or not.MetaParam.MetaLong Abstract class for numeric long-based metadata parameter instances.MetaParam.MetaMaxIdle Writable metadata parameter representing a cached entry's millisecond max idle time.ParamIds Parameter identifiers. -
Enum Summary Enum Description Param.ExecutionMode Defines where is the command executed.Param.LockingMode Normally the cache has to acquire locks during any write operation to guarantee its correctness.Param.PersistenceMode When a persistence store is attached to a cache, by default all write operations, regardless of whether they are inserts, updates or removes, are persisted to the store.Param.ReplicationMode Param.StatisticsMode Defines how statistics are gathered for this command.