Package org.quartz.management
Interface ManagementServer
-
public interface ManagementServerInterface implemented by management servers.- Author:
- Ludovic Orban, brandony
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanhasRegistered()Returns true if thisManagementServerhas any resources registered.voidregister(QuartzScheduler managedResource)Puts the submitted resource under the purview of thisManagementServer.voidstart()Start the management servervoidstop()Stop the management servervoidunregister(QuartzScheduler managedResource)Removes the submitted resource under the purview of thisManagementServer.
-
-
-
Method Detail
-
start
void start()
Start the management server
-
stop
void stop()
Stop the management server
-
register
void register(QuartzScheduler managedResource)
Puts the submitted resource under the purview of thisManagementServer.- Parameters:
managedResource- the resource to be managed
-
unregister
void unregister(QuartzScheduler managedResource)
Removes the submitted resource under the purview of thisManagementServer.- Parameters:
managedResource- the resource to be managed
-
hasRegistered
boolean hasRegistered()
Returns true if thisManagementServerhas any resources registered.- Returns:
- true if actively managing resources, false if not.
-
-