Cluster.createScheduler()

Signature

void createScheduler(String schedulerName, long pollInterval, long refreshAhead)

Domain

ACTION

Description

Creates a cluster wide scheduler for time dependent jobs. If the scheduler is created by another node, then the method can be used to overwrite the pollInterval and refreshAhead

Parameters

NameTypeDescription
schedulerNameStringA unique id
pollIntervallongThe time in milliseconds of polling the cache for due entries
refreshAheadlongThe time in milliseconds that is used to pre-load the entries from the underlying store to the scheduler cache

Returns

TypeDescription
void