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 listener Listeners.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.LookupProvides metadata parameter lookup capabilities using
Classas lookup key.
MetaParaminstances 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 EntryViewEntry views expose cached entry information to the user. ListenersHolder class for functional listener definitions. MetaParam.MetaBoolean MetaParam.MetaCreatedRead only metadata parameter representing a cached entry's created time in milliseconds. MetaParam.MetaEntryVersionWritable metadata parameter representing a cached entry's generic version. MetaParam.MetaLastUsedRead only metadata parameter representing a cached entry's last used time in milliseconds. MetaParam.MetaLifespanWritable metadata parameter representing a cached entry's millisecond lifespan. MetaParam.MetaLoadedFromPersistenceNon-writable parameter telling if the entry was loaded from a persistence tier (
CacheLoader) or not.
MetaParam.MetaLongAbstract class for numeric long-based metadata parameter instances. MetaParam.MetaMaxIdleWritable metadata parameter representing a cached entry's millisecond max idle time. MetaParam.MetaUpdateCreationTimeA parameter to tell if the creation timestamp should be updated for modified entries. ParamIdsParameter identifiers.
Enum Summary Enum Description Param.ExecutionModeDefines where is the command executed. Param.LockingModeNormally the cache has to acquire locks during any write operation to guarantee its correctness. Param.PersistenceModeWhen 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.StatisticsModeDefines how statistics are gathered for this command.