Uses of Interface
org.infinispan.persistence.spi.MarshallableEntry
-
Packages that use MarshallableEntry Package Description org.infinispan.expiration Cache expiration.org.infinispan.persistence Persistence API.org.infinispan.persistence.cluster ACacheLoader
(notCacheWriter
) that polls other nodes in the cluster for state.org.infinispan.persistence.file Simple filesystem-basedCacheWriter
implementation.org.infinispan.persistence.jdbc.common This package contains aAdvancedLoadWriteStore
implementation based on a JDBC database connection.org.infinispan.persistence.jdbc.stringbased JDBC CacheStore implementation which maps keys to strings.org.infinispan.persistence.remote Hot Rod-basedAdvancedLoadWriteStore
.org.infinispan.persistence.rocksdb RocksDB-basedAdvancedLoadWriteStore
.org.infinispan.persistence.sifs Soft IndexAdvancedLoadWriteStore
.org.infinispan.persistence.spi The Persistence SPI.org.infinispan.persistence.sql This package contains aAdvancedLoadWriteStore
implementation based on a JDBC database connection. -
-
Uses of MarshallableEntry in org.infinispan.expiration
Methods in org.infinispan.expiration with parameters of type MarshallableEntry Modifier and Type Method Description void
ExpirationManager. handleInStoreExpiration(MarshallableEntry<K,V> marshalledEntry)
Deprecated.since 9.3 this method is not intended for external use -
Uses of MarshallableEntry in org.infinispan.persistence
Methods in org.infinispan.persistence that return MarshallableEntry Modifier and Type Method Description static <K,V>
MarshallableEntry<K,V>PersistenceUtil. loadAndCheckExpiration(org.infinispan.persistence.manager.PersistenceManager persistenceManager, Object key, InvocationContext context, org.infinispan.commons.time.TimeService timeService)
Deprecated.since 9.4 This method references PersistenceManager, which isn't a public classMethods in org.infinispan.persistence with parameters of type MarshallableEntry Modifier and Type Method Description static <K,V>
org.infinispan.container.entries.InternalCacheEntry<K,V>PersistenceUtil. convert(MarshallableEntry<K,V> loaded, org.infinispan.container.impl.InternalEntryFactory factory)
-
Uses of MarshallableEntry in org.infinispan.persistence.cluster
Methods in org.infinispan.persistence.cluster that return MarshallableEntry Modifier and Type Method Description MarshallableEntry
ClusterLoader. loadEntry(Object key)
Deprecated. -
Uses of MarshallableEntry in org.infinispan.persistence.file
Methods in org.infinispan.persistence.file that return types with arguments of type MarshallableEntry Modifier and Type Method Description CompletionStage<MarshallableEntry<K,V>>
SingleFileStore. load(int segment, Object key)
org.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 MarshallableEntry Modifier and Type Method Description CompletionStage<Void>
SingleFileStore. write(int segment, MarshallableEntry<? extends K,? extends V> marshalledEntry)
-
Uses of MarshallableEntry in org.infinispan.persistence.jdbc.common
Methods in org.infinispan.persistence.jdbc.common that return MarshallableEntry Modifier and Type Method Description MarshallableEntry<K,V>
TableOperations. loadEntry(Connection connection, int segment, Object key)
Methods in org.infinispan.persistence.jdbc.common that return types with arguments of type MarshallableEntry Modifier and Type Method Description io.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 MarshallableEntry Modifier and Type Method Description void
TableOperations. 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 MarshallableEntry Modifier and Type Method Description org.reactivestreams.Publisher<MarshallableEntry<K,V>>
JdbcStringBasedStore. purgeExpired()
-
Uses of MarshallableEntry in org.infinispan.persistence.remote
Methods in org.infinispan.persistence.remote that return types with arguments of type MarshallableEntry Modifier and Type Method Description CompletionStage<MarshallableEntry<K,V>>
RemoteStore. load(int segment, Object key)
org.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 MarshallableEntry Modifier and Type Method Description CompletionStage<Void>
RemoteStore. 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 MarshallableEntry Modifier and Type Method Description CompletionStage<MarshallableEntry<K,V>>
RocksDBStore. load(int segment, Object key)
org.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 MarshallableEntry Modifier and Type Method Description CompletionStage<Void>
RocksDBStore. 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 MarshallableEntry Modifier and Type Method Description MarshallableEntry<K,V>
NonBlockingSoftIndexFileStore.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 MarshallableEntry Modifier and Type Method Description CompletionStage<MarshallableEntry<K,V>>
NonBlockingSoftIndexFileStore. load(int segment, Object key)
org.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 MarshallableEntry Modifier and Type Method Description <K,V>
CompletionStage<Void>LogAppender. storeRequest(int segment, MarshallableEntry<K,V> entry)
CompletionStage<Void>
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 MarshallableEntry Modifier and Type Method Description MarshallableEntry<K,V>
MarshallableEntryFactory. create(Object key)
value
defaults to nullMarshallableEntry<K,V>
MarshallableEntryFactory. create(Object key, Object value)
metadata
defaults to nullcreated
defaults to -1lastUsed
defaults to -1MarshallableEntry<K,V>
MarshallableEntryFactory. create(Object key, Object value, Metadata metadata, org.infinispan.metadata.impl.PrivateMetadata internalMetadata, long created, long lastUsed)
Creates aMarshallableEntry
using non-marshalled POJOs as argumentsMarshallableEntry<K,V>
MarshallableEntryFactory. 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, org.infinispan.container.entries.InternalCacheValue<V> v)
MarshallableEntry<K,V>
MarshallableEntryFactory. create(Object key, MarshalledValue value)
Creates aMarshallableEntry
using a KeyMarshalledValue
.MarshallableEntry<K,V>
MarshallableEntryFactory. create(ByteBuffer key, ByteBuffer valueBytes)
metadataBytes
defaults to nullcreated
defaults to -1lastUsed
defaults to -1MarshallableEntry<K,V>
MarshallableEntryFactory. 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(org.infinispan.container.entries.InternalCacheEntry<K,V> e)
Creates aMarshallableEntry
instance from anInternalCacheEntry
.MarshallableEntry<K,V>
SegmentedAdvancedLoadWriteStore. get(int segment, Object key)
Deprecated.Fetches an entry from the storage given a segment to optimize this lookup based on.MarshallableEntry<K,V>
MarshallableEntryFactory. getEmpty()
MarshallableEntry<K,V>
CacheLoader. loadEntry(Object key)
Deprecated.Fetches an entry from the storage.Methods in org.infinispan.persistence.spi that return types with arguments of type MarshallableEntry Modifier and Type Method Description org.reactivestreams.Publisher<MarshallableEntry<K,V>>
AdvancedCacheLoader. entryPublisher(Predicate<? super K> filter, boolean fetchValue, boolean fetchMetadata)
Deprecated.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.Publishes all entries from this store.CompletionStage<MarshallableEntry<K,V>>
NonBlockingStore. load(int segment, Object key)
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 MarshallableEntry Modifier and Type Method Description 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.Persists the entry to the storage.CompletionStage<Void>
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.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 MarshallableEntry Modifier and Type Method Description default CompletionStage<Void>
CacheWriter. bulkUpdate(org.reactivestreams.Publisher<MarshallableEntry<? extends K,? extends V>> publisher)
Deprecated.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 MarshallableEntry Modifier and Type Method Description protected 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 MarshallableEntry Modifier and Type Method Description protected void
AbstractSchemaJdbcStore.SchemaTableOperations. prepareValueStatement(PreparedStatement ps, int segment, MarshallableEntry<? extends K,? extends V> entry)
-