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(IScheduler sched) |
static SchedulerRepository |
getInstance() |
IScheduler |
lookup(String schedName) |
com.helger.commons.collection.impl.ICommonsList<IScheduler> |
lookupAll() |
boolean |
remove(String schedName) |
@Nonnull public static SchedulerRepository getInstance()
public void bind(IScheduler sched) throws SchedulerException
SchedulerExceptionpublic boolean remove(String schedName)
public IScheduler lookup(String schedName)
@Nonnull @ReturnsMutableCopy public com.helger.commons.collection.impl.ICommonsList<IScheduler> lookupAll()
Copyright © 2016–2021 Philip Helger. All rights reserved.