Uses of Enum
org.infinispan.context.Flag
Packages that use Flag
Package
Description
This is the core of Infinispan, a distributed, transactional, highly scalable data grid
platform.
Commands that operate on the cache, either locally or remotely.
Contexts contain information of a specific invocation on the cache, such as its origins, scope
(transactional or non-transactional), as well as invocation-specific flags.
This package contains different context implementations, selected dynamically based on the type of invocation.
Basic interceptors
Interceptors dealing with locking.
Transfer of state to new caches in a cluster.
-
Uses of Flag in org.infinispan
Methods in org.infinispan with parameters of type FlagModifier and TypeMethodDescriptiondefault AdvancedCache<K,V> An alternative toAdvancedCache.withFlags(Flag...)optimized for a single flag.A method that adds flags to any API call.Method parameters in org.infinispan with type arguments of type FlagModifier and TypeMethodDescriptiondefault AdvancedCache<K,V> AdvancedCache.withFlags(Collection<Flag> flags) An alternative toAdvancedCache.withFlags(Flag...)not requiring array allocation. -
Uses of Flag in org.infinispan.cache.impl
Methods in org.infinispan.cache.impl with parameters of type FlagModifier and TypeMethodDescriptionMethod parameters in org.infinispan.cache.impl with type arguments of type FlagModifier and TypeMethodDescriptionAbstractDelegatingAdvancedCache.withFlags(Collection<Flag> flags) CacheImpl.withFlags(Collection<Flag> flags) DecoratedCache.withFlags(Collection<Flag> flags) SimpleCacheImpl.withFlags(Collection<Flag> flags) -
Uses of Flag in org.infinispan.commands
Methods in org.infinispan.commands that return types with arguments of type FlagMethods in org.infinispan.commands with parameters of type FlagModifier and TypeMethodDescriptiondefault voidDeprecated.default booleanDeprecated.Since 9.0, please useFlagAffectedCommand.hasAnyFlag(long)with aFlagBitSetsconstant instead.Method parameters in org.infinispan.commands with type arguments of type FlagModifier and TypeMethodDescriptiondefault voidDeprecated.Since 9.0, please useFlagAffectedCommand.addFlags(long)with aFlagBitSetsconstant instead.default voidDeprecated.Since 9.0, please useFlagAffectedCommand.setFlagsBitSet(long)instead. -
Uses of Flag in org.infinispan.context
Methods in org.infinispan.context that return FlagModifier and TypeMethodDescriptionFlag.Externalizer.readObject(ObjectInput input) static FlagReturns the enum constant of this type with the specified name.static Flag[]Flag.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.infinispan.context that return types with arguments of type FlagMethods in org.infinispan.context with parameters of type FlagModifier and TypeMethodDescriptionvoidFlag.Externalizer.writeObject(ObjectOutput output, Flag flag) -
Uses of Flag in org.infinispan.context.impl
Methods in org.infinispan.context.impl that return FlagModifier and TypeMethodDescriptionstatic FlagFlagBitSets.extractStateTransferFlag(InvocationContext ctx, FlagAffectedCommand command) -
Uses of Flag in org.infinispan.interceptors.impl
Methods in org.infinispan.interceptors.impl with parameters of type FlagModifier and TypeMethodDescriptionprotected CompletionStage<Void>EntryWrappingInterceptor.commitContextEntry(CacheEntry<?, ?> entry, InvocationContext ctx, FlagAffectedCommand command, Flag stateTransferFlag, boolean l1Invalidation) protected CompletionStage<Void>VersionedEntryWrappingInterceptor.commitContextEntry(CacheEntry<?, ?> entry, InvocationContext ctx, FlagAffectedCommand command, Flag stateTransferFlag, boolean l1Invalidation) -
Uses of Flag in org.infinispan.interceptors.locking
Methods in org.infinispan.interceptors.locking with parameters of type FlagModifier and TypeMethodDescriptionfinal CompletionStage<Void>ClusteringDependentLogic.AbstractClusteringDependentLogic.commitEntry(CacheEntry entry, FlagAffectedCommand command, InvocationContext ctx, Flag trackFlag, boolean l1Invalidation) ClusteringDependentLogic.commitEntry(CacheEntry entry, FlagAffectedCommand command, InvocationContext ctx, Flag trackFlag, boolean l1Invalidation) Commits the entry to the data container.protected abstract CompletionStage<Void>ClusteringDependentLogic.AbstractClusteringDependentLogic.commitSingleEntry(CacheEntry entry, FlagAffectedCommand command, InvocationContext ctx, Flag trackFlag, boolean l1Invalidation) protected CompletionStage<Void>ClusteringDependentLogic.DistributionLogic.commitSingleEntry(CacheEntry entry, FlagAffectedCommand command, InvocationContext ctx, Flag trackFlag, boolean l1Invalidation) protected CompletionStage<Void>ClusteringDependentLogic.InvalidationLogic.commitSingleEntry(CacheEntry entry, FlagAffectedCommand command, InvocationContext ctx, Flag trackFlag, boolean l1Invalidation) protected CompletionStage<Void>ClusteringDependentLogic.LocalLogic.commitSingleEntry(CacheEntry entry, FlagAffectedCommand command, InvocationContext ctx, Flag trackFlag, boolean l1Invalidation) protected CompletionStage<Void>ClusteringDependentLogic.ReplicationLogic.commitSingleEntry(CacheEntry entry, FlagAffectedCommand command, InvocationContext ctx, Flag trackFlag, boolean l1Invalidation) protected CompletableFuture<Void>ClusteringDependentLogic.ScatteredLogic.commitSingleEntry(CacheEntry entry, FlagAffectedCommand command, InvocationContext ctx, Flag trackFlag, boolean l1Invalidation) -
Uses of Flag in org.infinispan.security.impl
Methods in org.infinispan.security.impl with parameters of type FlagMethod parameters in org.infinispan.security.impl with type arguments of type Flag -
Uses of Flag in org.infinispan.statetransfer
Methods in org.infinispan.statetransfer with parameters of type FlagModifier and TypeMethodDescriptionfinal CompletionStage<Void>CommitManager.commit(CacheEntry entry, Flag operation, int segment, boolean l1Only, InvocationContext ctx) It tries to commit the cache entry.final booleanCommitManager.isTracking(Flag trackFlag) final voidCommitManager.startTrack(Flag track) It starts tracking keys committed.final voidIt stops tracking keys committed.final voidCommitManager.stopTrackFor(Flag flag, int segmentId) Stop tracking the entries for the given segment if state transfer tracking is enabled. -
Uses of Flag in org.infinispan.transaction.impl
Methods in org.infinispan.transaction.impl that return FlagMethods in org.infinispan.transaction.impl with parameters of type FlagModifier and TypeMethodDescriptionabstract voidAbstractCacheTransaction.setStateTransferFlag(Flag stateTransferFlag) voidLocalTransaction.setStateTransferFlag(Flag stateTransferFlag) voidRemoteTransaction.setStateTransferFlag(Flag stateTransferFlag)
FlagAffectedCommand.addFlags(long)with aFlagBitSetsconstant instead.