Interface SchedulerService
-
- All Superinterfaces:
InternalScheduler,Scheduler
public interface SchedulerService extends Scheduler, InternalScheduler
- Author:
- Joost van de Wijgerd
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidregisterShard(ShardKey shardKey)Register a local shard with the SchedulerService.voidunregisterShard(ShardKey shardKey)Unregister a previously registered shard, release all allocated resources as another node is the new owner of this shard-
Methods inherited from interface org.elasticsoftware.elasticactors.cluster.scheduler.InternalScheduler
cancel
-
Methods inherited from interface org.elasticsoftware.elasticactors.scheduler.Scheduler
scheduleOnce
-
-
-
-
Method Detail
-
registerShard
void registerShard(ShardKey shardKey)
Register a local shard with the SchedulerService. The implementation of the service should load the proper resources for the shard- Parameters:
shardKey-
-
unregisterShard
void unregisterShard(ShardKey shardKey)
Unregister a previously registered shard, release all allocated resources as another node is the new owner of this shard- Parameters:
shardKey-
-
-