public class SchedulerRepository extends Object
Holds references to Scheduler instances - ensuring uniqueness, and preventing garbage collection, and allowing 'global' lookups - all within a ClassLoader space.
Modifier and Type | Method and Description |
---|---|
void |
bind(Scheduler sched) |
static SchedulerRepository |
getInstance() |
Scheduler |
lookup(String schedName) |
Collection<Scheduler> |
lookupAll() |
boolean |
remove(String schedName) |
public static SchedulerRepository getInstance()
public void bind(Scheduler sched) throws SchedulerException
SchedulerException
public boolean remove(String schedName)
public Collection<Scheduler> lookupAll()
Copyright 2001-2019, Terracotta, Inc.