Uses of Interface
org.infinispan.manager.ClusterExecutor
Package
Description
Cache manager API.
-
Uses of ClusterExecutor in org.infinispan.manager
Modifier and TypeMethodDescriptionClusterExecutor.allNodeSubmission()
When a command is submitted it will submit this command to all of the available nodes that pass the provided filter.DefaultCacheManager.executor()
default ClusterExecutor
EmbeddedCacheManager.executor()
Providess the cache manager based executor.ClusterExecutor.filterTargets
(Collection<Address> addresses) Allows for filtering of address nodes by only allowing addresses in this collection from being contacted.ClusterExecutor.filterTargets
(Predicate<? super Address> predicate) Allows for filtering of address nodes dynamically per invocation.ClusterExecutor.filterTargets
(ClusterExecutionPolicy policy) Allows for filtering of address nodes by only allowing addresses that match the given execution policy to be used.ClusterExecutor.filterTargets
(ClusterExecutionPolicy policy, Predicate<? super Address> predicate) Allows for filtering of address nodes dynamically per invocation.ClusterExecutor.noFilter()
Applies no filtering and will send any invocations to any/all current nodes.ClusterExecutor.singleNodeSubmission()
When a command is submitted it will only be submitted to one node of the available nodes, there is no strict requirements as to which node is chosen and is implementation specific.ClusterExecutor.singleNodeSubmission
(int failOverCount) When a command is submitted it will only be submitted to one node of the available nodes, there is no strict requirements as to which node is chosen and is implementation specific.Sets a duration after which a command will timeout. -
Uses of ClusterExecutor in org.infinispan.manager.impl
Modifier and TypeMethodDescriptionstatic ClusterExecutor
ClusterExecutors.allSubmissionExecutor
(Predicate<? super Address> predicate, EmbeddedCacheManager manager, Transport transport, long time, TimeUnit unit, Executor localExecutor, ScheduledExecutorService timeoutExecutor) AbstractDelegatingEmbeddedCacheManager.executor()
static ClusterExecutor
ClusterExecutors.singleNodeSubmissionExecutor
(Predicate<? super Address> predicate, EmbeddedCacheManager manager, Transport transport, long time, TimeUnit unit, Executor localExecutor, ScheduledExecutorService timeoutExecutor, int failOverCount) -
Uses of ClusterExecutor in org.infinispan.security.actions