Uses of Interface
org.infinispan.persistence.spi.MarshallableEntry
Packages that use MarshallableEntry
Package
Description
This package should mainly contain
MessageMarshaller implementations for classes
which a static inner class is not possible.Persistence API.
A
CacheLoader (not CacheWriter) that polls other nodes in the cluster for state.Simple filesystem-based
CacheWriter implementation.Implementations of the
PersistenceManager interface, which define the logic
of how infinispan interacts with external stores.Modifications that are used to encapsulate cache operations for application to a
CacheStore.Soft Index
AdvancedLoadWriteStore.The Persistence SPI.
-
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.marshall.persistence.impl
Classes in org.infinispan.marshall.persistence.impl that implement MarshallableEntryMethods in org.infinispan.marshall.persistence.impl that return MarshallableEntryModifier and TypeMethodDescriptionMarshalledEntryFactoryImpl.cloneWithExpiration(MarshallableEntry me, long creationTime, long lifespan) MarshalledEntryFactoryImpl.create(Object key, Object value, Metadata metadata, PrivateMetadata internalMetadata, long created, long lastUsed) MarshalledEntryFactoryImpl.create(Object key, org.infinispan.commons.io.ByteBuffer valueBytes, org.infinispan.commons.io.ByteBuffer metadataBytes, org.infinispan.commons.io.ByteBuffer internalMetadataBytes, long created, long lastUsed) MarshalledEntryFactoryImpl.create(Object key, MarshalledValue value) MarshalledEntryFactoryImpl.create(org.infinispan.commons.io.ByteBuffer key, org.infinispan.commons.io.ByteBuffer valueBytes) MarshalledEntryFactoryImpl.create(org.infinispan.commons.io.ByteBuffer key, org.infinispan.commons.io.ByteBuffer valueBytes, org.infinispan.commons.io.ByteBuffer metadataBytes, org.infinispan.commons.io.ByteBuffer internalMetadataBytes, long created, long lastUsed) MarshalledEntryFactoryImpl.getEmpty()Methods in org.infinispan.marshall.persistence.impl with parameters of type MarshallableEntryModifier and TypeMethodDescriptionMarshalledEntryFactoryImpl.cloneWithExpiration(MarshallableEntry me, long creationTime, long lifespan) -
Uses of MarshallableEntry in org.infinispan.persistence
Methods in org.infinispan.persistence that return MarshallableEntryModifier and TypeMethodDescriptionstatic <K,V> MarshallableEntry<K, V> PersistenceUtil.loadAndCheckExpiration(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 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(org.infinispan.commons.util.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. -
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(org.infinispan.commons.util.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(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.manager
Methods in org.infinispan.persistence.manager that return types with arguments of type MarshallableEntryModifier and TypeMethodDescription<K,V> CompletionStage<MarshallableEntry<K, V>> PassivationPersistenceManager.loadFromAllStores(Object key, boolean localInvocation, boolean includeStores) <K,V> CompletionStage<MarshallableEntry<K, V>> PassivationPersistenceManager.loadFromAllStores(Object key, int segment, boolean localInvocation, boolean includeStores) <K,V> CompletionStage<MarshallableEntry<K, V>> PersistenceManager.loadFromAllStores(Object key, boolean localInvocation, boolean includeStores) Loads an entry from the persistence store for the given key.default <K,V> CompletionStage<MarshallableEntry<K, V>> PersistenceManager.loadFromAllStores(Object key, int segment, boolean localInvocation, boolean includeStores) Same asPersistenceManager.loadFromAllStores(Object, boolean, boolean)except that the segment of the key is also provided to avoid having to calculate the segment.<K,V> CompletionStage<MarshallableEntry<K, V>> PersistenceManagerImpl.loadFromAllStores(Object key, boolean localInvocation, boolean includeStores) <K,V> CompletionStage<MarshallableEntry<K, V>> PersistenceManagerImpl.loadFromAllStores(Object key, int segment, boolean localInvocation, boolean includeStores) io.reactivex.rxjava3.core.Flowable<MarshallableEntry<Object,Object>> PersistenceManager.preloadPublisher()Loads the data from the external store into memory during cache startup.io.reactivex.rxjava3.core.Flowable<MarshallableEntry<Object,Object>> PersistenceManagerImpl.preloadPublisher()<K,V> org.reactivestreams.Publisher<MarshallableEntry<K, V>> PassivationPersistenceManager.publishEntries(boolean fetchValue, boolean fetchMetadata) <K,V> org.reactivestreams.Publisher<MarshallableEntry<K, V>> PassivationPersistenceManager.publishEntries(Predicate<? super K> filter, boolean fetchValue, boolean fetchMetadata, Predicate<? super StoreConfiguration> predicate) <K,V> org.reactivestreams.Publisher<MarshallableEntry<K, V>> PassivationPersistenceManager.publishEntries(org.infinispan.commons.util.IntSet segments, Predicate<? super K> filter, boolean fetchValue, boolean fetchMetadata, Predicate<? super StoreConfiguration> predicate) default <K,V> org.reactivestreams.Publisher<MarshallableEntry<K, V>> PersistenceManager.publishEntries(boolean fetchValue, boolean fetchMetadata) <K,V> org.reactivestreams.Publisher<MarshallableEntry<K, V>> PersistenceManager.publishEntries(Predicate<? super K> filter, boolean fetchValue, boolean fetchMetadata, Predicate<? super StoreConfiguration> predicate) Returns a publisher that will publish all entries stored by the underlying cache store.<K,V> org.reactivestreams.Publisher<MarshallableEntry<K, V>> PersistenceManager.publishEntries(org.infinispan.commons.util.IntSet segments, Predicate<? super K> filter, boolean fetchValue, boolean fetchMetadata, Predicate<? super StoreConfiguration> predicate) Returns a publisher that will publish entries that map to the provided segments.<K,V> org.reactivestreams.Publisher<MarshallableEntry<K, V>> PersistenceManagerImpl.publishEntries(boolean fetchValue, boolean fetchMetadata) <K,V> org.reactivestreams.Publisher<MarshallableEntry<K, V>> PersistenceManagerImpl.publishEntries(Predicate<? super K> filter, boolean fetchValue, boolean fetchMetadata, Predicate<? super StoreConfiguration> predicate) <K,V> org.reactivestreams.Publisher<MarshallableEntry<K, V>> PersistenceManagerImpl.publishEntries(org.infinispan.commons.util.IntSet segments, Predicate<? super K> filter, boolean fetchValue, boolean fetchMetadata, Predicate<? super StoreConfiguration> predicate) Methods in org.infinispan.persistence.manager with parameters of type MarshallableEntryModifier and TypeMethodDescriptionPassivationPersistenceManager.passivate(MarshallableEntry marshallableEntry, int segment) default CompletionStage<Void>PersistenceManager.writeToAllNonTxStores(MarshallableEntry marshalledEntry, int segment, Predicate<? super StoreConfiguration> predicate) Write to all stores that are not transactional.PersistenceManager.writeToAllNonTxStores(MarshallableEntry marshalledEntry, int segment, Predicate<? super StoreConfiguration> predicate, long flags) PersistenceManagerImpl.writeToAllNonTxStores(MarshallableEntry marshalledEntry, int segment, Predicate<? super StoreConfiguration> predicate, long flags) Method parameters in org.infinispan.persistence.manager with type arguments of type MarshallableEntryModifier and TypeMethodDescription<K,V> CompletionStage<Void> PersistenceManager.writeEntries(Iterable<MarshallableEntry<K, V>> iterable, Predicate<? super StoreConfiguration> predicate) Writes the entries to the stores that pass the given predicate<K,V> CompletionStage<Void> PersistenceManagerImpl.writeEntries(Iterable<MarshallableEntry<K, V>> iterable, Predicate<? super StoreConfiguration> predicate) -
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.sifs
Methods in org.infinispan.persistence.sifs that return MarshallableEntryModifier and TypeMethodDescriptionNonBlockingSoftIndexFileStore.EntryCreator.create(org.infinispan.commons.io.ByteBuffer key, org.infinispan.commons.io.ByteBuffer value, org.infinispan.commons.io.ByteBuffer metadata, org.infinispan.commons.io.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(org.infinispan.commons.util.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.valuedefaults to nullmetadatadefaults to nullcreateddefaults to -1lastUseddefaults to -1MarshallableEntryFactory.create(Object key, Object value, Metadata metadata, PrivateMetadata internalMetadata, long created, long lastUsed) Creates aMarshallableEntryusing non-marshalled POJOs as argumentsMarshallableEntryFactory.create(Object key, org.infinispan.commons.io.ByteBuffer valueBytes, org.infinispan.commons.io.ByteBuffer metadataBytes, org.infinispan.commons.io.ByteBuffer internalMetadataBytes, long created, long lastUsed) Creates aMarshallableEntryusing 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 aMarshallableEntryusing a KeyMarshalledValue.MarshallableEntryFactory.create(org.infinispan.commons.io.ByteBuffer key, org.infinispan.commons.io.ByteBuffer valueBytes) metadataBytesdefaults to nullcreateddefaults to -1lastUseddefaults to -1MarshallableEntryFactory.create(org.infinispan.commons.io.ByteBuffer key, org.infinispan.commons.io.ByteBuffer valueBytes, org.infinispan.commons.io.ByteBuffer metadataBytes, org.infinispan.commons.io.ByteBuffer internalMetadataBytes, long created, long lastUsed) Creates aMarshallableEntryusing already marshalled objects as argumentsdefault MarshallableEntry<K,V> MarshallableEntryFactory.create(InternalCacheEntry<K, V> e) Creates aMarshallableEntryinstance from anInternalCacheEntry.Deprecated.Fetches an entry from the storage given a segment to optimize this lookup based on.MarshallableEntryFactory.getEmpty()Deprecated.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.Publishes all entries from this store.org.reactivestreams.Publisher<MarshallableEntry<K,V>> SegmentedAdvancedLoadWriteStore.entryPublisher(org.infinispan.commons.util.IntSet segments, Predicate<? super K> filter, boolean fetchValue, boolean fetchMetadata) Deprecated.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(org.infinispan.commons.util.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.voidAdvancedCacheExpirationWriter.ExpirationPurgeListener.marshalledEntryPurged(MarshallableEntry<K, V> entry) If possible,AdvancedCacheExpirationWriterimplementors should invoke this method for every entry that is purged from the store.voidCacheWriter.write(MarshallableEntry<? extends K, ? extends V> entry) Deprecated.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.voidSegmentedAdvancedLoadWriteStore.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 MarshallableEntryModifier and TypeMethodDescriptiondefault 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.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(org.infinispan.commons.util.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(org.infinispan.commons.util.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(org.infinispan.commons.util.IntSet segments, Predicate<? super K> filter, boolean fetchValue, boolean fetchMetadata, Predicate<? super StoreConfiguration> predicate) org.reactivestreams.Publisher<MarshallableEntry<K,V>> NonBlockingStoreAdapter.publishEntries(org.infinispan.commons.util.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 TypeMethodDescriptionvoidBatchModification.addMarshalledEntry(Object key, MarshallableEntry<Object, Object> marshalledEntry) final voidAbstractSegmentedAdvancedLoadWriteStore.write(MarshallableEntry<? extends K, ? extends V> entry) voidComposedSegmentedLoadWriteStore.write(int segment, MarshallableEntry<? extends K, ? extends V> entry) voidDelegatingCacheWriter.write(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 XSiteStateXSiteState.fromCacheLoader(MarshallableEntry<?, ?> marshalledEntry)