Uses of Interface
org.infinispan.persistence.spi.MarshallableEntry
Packages that use MarshallableEntry
Package
Description
Persistence API.
A
CacheLoader
(not CacheWriter
) that polls other nodes in the cluster for state.Simple filesystem-based
CacheWriter
implementation.This package contains a
AdvancedLoadWriteStore
implementation based on
a JDBC database connection.JDBC CacheStore implementation which maps keys to strings.
Modifications that are used to encapsulate cache operations for application to a
NonBlockingStore
.Hot Rod-based
AdvancedLoadWriteStore
.RocksDB-based
AdvancedLoadWriteStore
.Soft Index
NonBlockingStore
.The Persistence SPI.
This package contains a
AdvancedLoadWriteStore
implementation based on
a JDBC database connection.-
Uses of MarshallableEntry in org.infinispan.expiration.impl
Methods in org.infinispan.expiration.impl with parameters of type MarshallableEntryModifier and TypeMethodDescriptionClusterExpirationManager.handleInStoreExpirationInternal
(MarshallableEntry<K, V> marshalledEntry) ExpirationManagerImpl.handleInStoreExpirationInternal
(MarshallableEntry<K, V> marshalledEntry) InternalExpirationManager.handleInStoreExpirationInternal
(MarshallableEntry<K, V> marshalledEntry) This is to be invoked when a store entry expires and the value and/or metadata is available to be used. -
Uses of MarshallableEntry in org.infinispan.persistence
Methods in org.infinispan.persistence with parameters of type MarshallableEntryModifier and TypeMethodDescriptionstatic <K,
V> InternalCacheEntry <K, V> PersistenceUtil.convert
(MarshallableEntry<K, V> loaded, InternalEntryFactory factory) -
Uses of MarshallableEntry in org.infinispan.persistence.async
Methods in org.infinispan.persistence.async that return types with arguments of type MarshallableEntryModifier and TypeMethodDescriptionorg.reactivestreams.Publisher
<MarshallableEntry<K, V>> AsyncNonBlockingStore.publishEntries
(IntSet segments, Predicate<? super K> filter, boolean includeValues) org.reactivestreams.Publisher
<MarshallableEntry<K, V>> AsyncNonBlockingStore.purgeExpired()
Methods in org.infinispan.persistence.async with parameters of type MarshallableEntryModifier and TypeMethodDescriptionAsyncNonBlockingStore.write
(int segment, MarshallableEntry<? extends K, ? extends V> entry) -
Uses of MarshallableEntry in org.infinispan.persistence.cluster
Methods in org.infinispan.persistence.cluster that return MarshallableEntryModifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Uses of MarshallableEntry in org.infinispan.persistence.file
Methods in org.infinispan.persistence.file that return types with arguments of type MarshallableEntryModifier and TypeMethodDescriptionorg.reactivestreams.Publisher
<MarshallableEntry<K, V>> SingleFileStore.publishEntries
(IntSet segments, Predicate<? super K> filter, boolean includeValues) org.reactivestreams.Publisher
<MarshallableEntry<K, V>> SingleFileStore.purgeExpired()
Methods in org.infinispan.persistence.file with parameters of type MarshallableEntryModifier and TypeMethodDescriptionSingleFileStore.write
(int segment, MarshallableEntry<? extends K, ? extends V> marshalledEntry) -
Uses of MarshallableEntry in org.infinispan.persistence.internal
Methods in org.infinispan.persistence.internal that return MarshallableEntryModifier and TypeMethodDescriptionstatic <K,
V> MarshallableEntry <K, V> PersistenceUtil.loadAndCheckExpiration
(org.infinispan.persistence.manager.PersistenceManager persistenceManager, Object key, int segment, InvocationContext context) Methods in org.infinispan.persistence.internal with parameters of type MarshallableEntryModifier and TypeMethodDescriptionstatic <K,
V> InternalCacheEntry <K, V> PersistenceUtil.convert
(MarshallableEntry<K, V> loaded, InternalEntryFactory factory) -
Uses of MarshallableEntry in org.infinispan.persistence.jdbc.common
Methods in org.infinispan.persistence.jdbc.common that return MarshallableEntryModifier and TypeMethodDescriptionTableOperations.loadEntry
(Connection connection, int segment, Object key) Methods in org.infinispan.persistence.jdbc.common that return types with arguments of type MarshallableEntryModifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Flowable
<MarshallableEntry<K, V>> TableOperations.publishEntries
(Supplier<Connection> connectionSupplier, Consumer<Connection> connectionCloser, IntSet segments, Predicate<? super K> filter, boolean fetchValue) Methods in org.infinispan.persistence.jdbc.common with parameters of type MarshallableEntryModifier and TypeMethodDescriptionvoid
TableOperations.upsertEntry
(Connection connection, int segment, MarshallableEntry<? extends K, ? extends V> entry) -
Uses of MarshallableEntry in org.infinispan.persistence.jdbc.common.impl
Methods in org.infinispan.persistence.jdbc.common.impl that return types with arguments of type MarshallableEntryModifier and TypeMethodDescriptionorg.reactivestreams.Publisher
<MarshallableEntry<K, V>> BaseJdbcStore.publishEntries
(IntSet segments, Predicate<? super K> filter, boolean includeValues) Methods in org.infinispan.persistence.jdbc.common.impl with parameters of type MarshallableEntryModifier and TypeMethodDescriptionBaseJdbcStore.write
(int segment, MarshallableEntry<? extends K, ? extends V> entry) -
Uses of MarshallableEntry in org.infinispan.persistence.jdbc.common.sql
Methods in org.infinispan.persistence.jdbc.common.sql that return MarshallableEntryModifier and TypeMethodDescriptionprotected abstract MarshallableEntry
<K, V> BaseTableOperations.entryFromResultSet
(ResultSet rs, Object keyIfProvided, boolean fetchValue, Predicate<? super K> keyPredicate) protected MarshallableEntry
<K, V> BaseTableOperations.ResultSetEntryIterator.getNext()
BaseTableOperations.loadEntry
(Connection connection, int segment, Object key) Methods in org.infinispan.persistence.jdbc.common.sql that return types with arguments of type MarshallableEntryModifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Flowable
<MarshallableEntry<K, V>> BaseTableOperations.publishEntries
(Supplier<Connection> connectionSupplier, Consumer<Connection> connectionCloser, IntSet segments, Predicate<? super K> filter, boolean fetchValue) Methods in org.infinispan.persistence.jdbc.common.sql with parameters of type MarshallableEntryModifier and TypeMethodDescriptionprotected abstract void
BaseTableOperations.prepareValueStatement
(PreparedStatement ps, int segment, MarshallableEntry<? extends K, ? extends V> entry) void
BaseTableOperations.upsertEntry
(Connection connection, int segment, MarshallableEntry<? extends K, ? extends V> entry) -
Uses of MarshallableEntry in org.infinispan.persistence.jdbc.stringbased
Methods in org.infinispan.persistence.jdbc.stringbased that return types with arguments of type MarshallableEntryModifier and TypeMethodDescriptionorg.reactivestreams.Publisher
<MarshallableEntry<K, V>> JdbcStringBasedStore.purgeExpired()
-
Uses of MarshallableEntry in org.infinispan.persistence.modifications
Methods in org.infinispan.persistence.modifications that return MarshallableEntryConstructors in org.infinispan.persistence.modifications with parameters of type MarshallableEntry -
Uses of MarshallableEntry in org.infinispan.persistence.remote
Methods in org.infinispan.persistence.remote that return types with arguments of type MarshallableEntryModifier and TypeMethodDescriptionorg.reactivestreams.Publisher
<MarshallableEntry<K, V>> RemoteStore.publishEntries
(IntSet segments, Predicate<? super K> filter, boolean includeValues) org.reactivestreams.Publisher
<MarshallableEntry<K, V>> RemoteStore.purgeExpired()
Methods in org.infinispan.persistence.remote with parameters of type MarshallableEntryModifier and TypeMethodDescriptionRemoteStore.write
(int segment, MarshallableEntry<? extends K, ? extends V> entry) -
Uses of MarshallableEntry in org.infinispan.persistence.rocksdb
Methods in org.infinispan.persistence.rocksdb that return types with arguments of type MarshallableEntryModifier and TypeMethodDescriptionorg.reactivestreams.Publisher
<MarshallableEntry<K, V>> RocksDBStore.publishEntries
(IntSet segments, Predicate<? super K> filter, boolean includeValues) org.reactivestreams.Publisher
<MarshallableEntry<K, V>> RocksDBStore.purgeExpired()
Methods in org.infinispan.persistence.rocksdb with parameters of type MarshallableEntryModifier and TypeMethodDescriptionRocksDBStore.write
(int segment, MarshallableEntry<? extends K, ? extends V> entry) -
Uses of MarshallableEntry in org.infinispan.persistence.sifs
Methods in org.infinispan.persistence.sifs that return MarshallableEntryModifier and TypeMethodDescriptionNonBlockingSoftIndexFileStore.EntryCreator.create
(ByteBuffer key, ByteBuffer value, ByteBuffer metadata, ByteBuffer internalMetadata, long created, long lastUsed) Methods in org.infinispan.persistence.sifs that return types with arguments of type MarshallableEntryModifier and TypeMethodDescriptionorg.reactivestreams.Publisher
<MarshallableEntry<K, V>> NonBlockingSoftIndexFileStore.publishEntries
(IntSet segments, Predicate<? super K> filter, boolean includeValues) org.reactivestreams.Publisher
<MarshallableEntry<K, V>> NonBlockingSoftIndexFileStore.purgeExpired()
Methods in org.infinispan.persistence.sifs with parameters of type MarshallableEntryModifier and TypeMethodDescription<K,
V> CompletionStage <Void> LogAppender.storeRequest
(int segment, MarshallableEntry<K, V> entry) NonBlockingSoftIndexFileStore.write
(int segment, MarshallableEntry<? extends K, ? extends V> entry) -
Uses of MarshallableEntry in org.infinispan.persistence.spi
Methods in org.infinispan.persistence.spi that return MarshallableEntryModifier and TypeMethodDescriptionMarshallableEntryFactory.cloneWithExpiration
(MarshallableEntry<K, V> me, long creationTime, long lifespan) Clone the provided MarshallableEntry if needed to apply lifespan expiration.value
defaults to nullmetadata
defaults to nullcreated
defaults to -1lastUsed
defaults to -1MarshallableEntryFactory.create
(Object key, Object value, Metadata metadata, PrivateMetadata internalMetadata, long created, long lastUsed) Creates aMarshallableEntry
using non-marshalled POJOs as argumentsMarshallableEntryFactory.create
(Object key, ByteBuffer valueBytes, ByteBuffer metadataBytes, ByteBuffer internalMetadataBytes, long created, long lastUsed) Creates aMarshallableEntry
using a object key and already marshalled value/metadata as argumentsdefault MarshallableEntry
<K, V> MarshallableEntryFactory.create
(Object key, InternalCacheValue<V> v) MarshallableEntryFactory.create
(Object key, MarshalledValue value) Creates aMarshallableEntry
using a KeyMarshalledValue
.MarshallableEntryFactory.create
(ByteBuffer key, ByteBuffer valueBytes) metadataBytes
defaults to nullcreated
defaults to -1lastUsed
defaults to -1MarshallableEntryFactory.create
(ByteBuffer key, ByteBuffer valueBytes, ByteBuffer metadataBytes, ByteBuffer internalMetadataBytes, long created, long lastUsed) Creates aMarshallableEntry
using already marshalled objects as argumentsdefault MarshallableEntry
<K, V> MarshallableEntryFactory.create
(InternalCacheEntry<K, V> e) Creates aMarshallableEntry
instance from anInternalCacheEntry
.Deprecated, for removal: This API element is subject to removal in a future version.Fetches an entry from the storage given a segment to optimize this lookup based on.MarshallableEntryFactory.getEmpty()
Deprecated, for removal: This API element is subject to removal in a future version.Fetches an entry from the storage.Methods in org.infinispan.persistence.spi that return types with arguments of type MarshallableEntryModifier and TypeMethodDescriptionorg.reactivestreams.Publisher
<MarshallableEntry<K, V>> AdvancedCacheLoader.entryPublisher
(Predicate<? super K> filter, boolean fetchValue, boolean fetchMetadata) Deprecated, for removal: This API element is subject to removal in a future version.Publishes all entries from this store.org.reactivestreams.Publisher
<MarshallableEntry<K, V>> SegmentedAdvancedLoadWriteStore.entryPublisher
(IntSet segments, Predicate<? super K> filter, boolean fetchValue, boolean fetchMetadata) Deprecated, for removal: This API element is subject to removal in a future version.Publishes all entries from this store.Returns a stage that will contain the value loaded from the store.default org.reactivestreams.Publisher
<MarshallableEntry<K, V>> NonBlockingStore.publishEntries
(IntSet segments, Predicate<? super K> filter, boolean includeValues) Publishes entries from this store that are in one of the provided segments and also pass the provided filter.default org.reactivestreams.Publisher
<MarshallableEntry<K, V>> NonBlockingStore.purgeExpired()
Returns a Publisher that, after it is subscribed to, removes any expired entries from the store and publishes them to the returned Publisher.Methods in org.infinispan.persistence.spi with parameters of type MarshallableEntryModifier and TypeMethodDescriptionMarshallableEntryFactory.cloneWithExpiration
(MarshallableEntry<K, V> me, long creationTime, long lifespan) Clone the provided MarshallableEntry if needed to apply lifespan expiration.void
AdvancedCacheExpirationWriter.ExpirationPurgeListener.marshalledEntryPurged
(MarshallableEntry<K, V> entry) If possible,AdvancedCacheExpirationWriter
implementors should invoke this method for every entry that is purged from the store.void
CacheWriter.write
(MarshallableEntry<? extends K, ? extends V> entry) Deprecated, for removal: This API element is subject to removal in a future version.Persists the entry to the storage.NonBlockingStore.write
(int segment, MarshallableEntry<? extends K, ? extends V> entry) Writes the entry to the store for the given segment returning a stage that completes normally when it is finished.void
SegmentedAdvancedLoadWriteStore.write
(int segment, MarshallableEntry<? extends K, ? extends V> entry) Deprecated, for removal: This API element is subject to removal in a future version.Persists the entry to the storage with the given segment to optimize future lookups.Method parameters in org.infinispan.persistence.spi with type arguments of type MarshallableEntryModifier and TypeMethodDescriptiondefault CompletionStage
<Void> CacheWriter.bulkUpdate
(org.reactivestreams.Publisher<MarshallableEntry<? extends K, ? extends V>> publisher) Deprecated, for removal: This API element is subject to removal in a future version.Persist all provided entries to the store in chunks, with the size of each chunk determined by the store implementation. -
Uses of MarshallableEntry in org.infinispan.persistence.sql
Methods in org.infinispan.persistence.sql that return MarshallableEntryModifier and TypeMethodDescriptionprotected MarshallableEntry
<K, V> AbstractSchemaJdbcStore.SchemaTableOperations.entryFromResultSet
(ResultSet rs, Object keyIfProvided, boolean fetchValue, Predicate<? super K> keyPredicate) Methods in org.infinispan.persistence.sql with parameters of type MarshallableEntryModifier and TypeMethodDescriptionprotected void
AbstractSchemaJdbcStore.SchemaTableOperations.prepareValueStatement
(PreparedStatement ps, int segment, MarshallableEntry<? extends K, ? extends V> entry) -
Uses of MarshallableEntry in org.infinispan.persistence.support
Methods in org.infinispan.persistence.support that return MarshallableEntryMethods in org.infinispan.persistence.support that return types with arguments of type MarshallableEntryModifier and TypeMethodDescriptionorg.reactivestreams.Publisher
<MarshallableEntry<K, V>> ComposedSegmentedLoadWriteStore.entryPublisher
(Predicate<? super K> filter, boolean fetchValue, boolean fetchMetadata) org.reactivestreams.Publisher
<MarshallableEntry<K, V>> ComposedSegmentedLoadWriteStore.entryPublisher
(IntSet segments, Predicate<? super K> filter, boolean fetchValue, boolean fetchMetadata) BatchModification.getMarshallableEntries()
<K,
V> CompletionStage <MarshallableEntry<K, V>> DelegatingPersistenceManager.loadFromAllStores
(Object key, boolean localInvocation, boolean includeStores) <K,
V> CompletionStage <MarshallableEntry<K, V>> DelegatingPersistenceManager.loadFromAllStores
(Object key, int segment, boolean localInvocation, boolean includeStores) io.reactivex.rxjava3.core.Flowable
<MarshallableEntry<Object, Object>> DelegatingPersistenceManager.preloadPublisher()
org.reactivestreams.Publisher
<MarshallableEntry<K, V>> DelegatingNonBlockingStore.publishEntries
(IntSet segments, Predicate<? super K> filter, boolean includeValues) <K,
V> org.reactivestreams.Publisher <MarshallableEntry<K, V>> DelegatingPersistenceManager.publishEntries
(boolean fetchValue, boolean fetchMetadata) <K,
V> org.reactivestreams.Publisher <MarshallableEntry<K, V>> DelegatingPersistenceManager.publishEntries
(Predicate<? super K> filter, boolean fetchValue, boolean fetchMetadata, Predicate<? super StoreConfiguration> predicate) <K,
V> org.reactivestreams.Publisher <MarshallableEntry<K, V>> DelegatingPersistenceManager.publishEntries
(IntSet segments, Predicate<? super K> filter, boolean fetchValue, boolean fetchMetadata, Predicate<? super StoreConfiguration> predicate) org.reactivestreams.Publisher
<MarshallableEntry<K, V>> NonBlockingStoreAdapter.publishEntries
(IntSet segments, Predicate<? super K> filter, boolean includeValues) org.reactivestreams.Publisher
<MarshallableEntry<K, V>> DelegatingNonBlockingStore.purgeExpired()
org.reactivestreams.Publisher
<MarshallableEntry<K, V>> NonBlockingStoreAdapter.purgeExpired()
Methods in org.infinispan.persistence.support with parameters of type MarshallableEntryModifier and TypeMethodDescriptionvoid
BatchModification.addMarshalledEntry
(Object key, MarshallableEntry<Object, Object> marshalledEntry) final void
AbstractSegmentedAdvancedLoadWriteStore.write
(MarshallableEntry<? extends K, ? extends V> entry) void
ComposedSegmentedLoadWriteStore.write
(int segment, MarshallableEntry<? extends K, ? extends V> entry) DelegatingNonBlockingStore.write
(int segment, MarshallableEntry<? extends K, ? extends V> entry) NonBlockingStoreAdapter.write
(int segment, MarshallableEntry<? extends K, ? extends V> entry) DelegatingPersistenceManager.writeToAllNonTxStores
(MarshallableEntry marshalledEntry, int segment, Predicate<? super StoreConfiguration> predicate) DelegatingPersistenceManager.writeToAllNonTxStores
(MarshallableEntry marshalledEntry, int segment, Predicate<? super StoreConfiguration> predicate, long flags) Method parameters in org.infinispan.persistence.support with type arguments of type MarshallableEntryModifier and TypeMethodDescriptionComposedSegmentedLoadWriteStore.bulkUpdate
(org.reactivestreams.Publisher<MarshallableEntry<? extends K, ? extends V>> publisher) <K,
V> CompletionStage <Void> DelegatingPersistenceManager.writeEntries
(Iterable<MarshallableEntry<K, V>> iterable, Predicate<? super StoreConfiguration> predicate) -
Uses of MarshallableEntry in org.infinispan.xsite.statetransfer
Methods in org.infinispan.xsite.statetransfer with parameters of type MarshallableEntryModifier and TypeMethodDescriptionstatic XSiteState
XSiteState.fromCacheLoader
(MarshallableEntry<?, ?> marshalledEntry)