Class PrimaryOwnerScheduler<I,M,GM extends org.wildfly.clustering.server.group.GroupMember<org.infinispan.remoting.transport.Address>>
java.lang.Object
org.wildfly.clustering.server.infinispan.scheduler.PrimaryOwnerScheduler<I,M,GM>
- Type Parameters:
I- the identifier type of scheduled entriesM- the meta data typeGM- the group member type
- All Implemented Interfaces:
AutoCloseable,Function<CompletionStage<Collection<I>>,,Stream<I>> org.wildfly.clustering.server.Registration,org.wildfly.clustering.server.scheduler.Scheduler<I,M>
public class PrimaryOwnerScheduler<I,M,GM extends org.wildfly.clustering.server.group.GroupMember<org.infinispan.remoting.transport.Address>>
extends Object
implements org.wildfly.clustering.server.scheduler.Scheduler<I,M>, Function<CompletionStage<Collection<I>>,Stream<I>>
Scheduler decorator that schedules/cancels a given object on the primary owner.
- Author:
- Paul Ferraro
-
Field Summary
Fields inherited from interface org.wildfly.clustering.server.Registration
EMPTY -
Constructor Summary
ConstructorsConstructorDescriptionPrimaryOwnerScheduler(PrimaryOwnerSchedulerConfiguration<I, M, GM> configuration) -
Method Summary
-
Constructor Details
-
PrimaryOwnerScheduler
-
-
Method Details
-
schedule
-
cancel
-
contains
-
stream
-
apply
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceorg.wildfly.clustering.server.Registration
-