Package org.apache.tomcat.websocket
Class BackgroundProcessManager
- java.lang.Object
- 
- org.apache.tomcat.websocket.BackgroundProcessManager
 
- 
 public class BackgroundProcessManager extends java.lang.ObjectProvides a background processing mechanism that triggers roughly once a second. The class maintains a thread that only runs when there is at least one instance ofBackgroundProcessregistered.
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BackgroundProcessManagergetInstance()voidregister(BackgroundProcess process)voidunregister(BackgroundProcess process)
 
- 
- 
- 
Method Detail- 
getInstancepublic static BackgroundProcessManager getInstance() 
 - 
registerpublic void register(BackgroundProcess process) 
 - 
unregisterpublic void unregister(BackgroundProcess process) 
 
- 
 
-