org.apache.tomcat.websocket
Class BackgroundProcessManager
java.lang.Object
org.apache.tomcat.websocket.BackgroundProcessManager
public class BackgroundProcessManager
- extends Object
Provides 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 of BackgroundProcess
registered.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static BackgroundProcessManager getInstance()
register
public void register(BackgroundProcess process)
unregister
public void unregister(BackgroundProcess process)
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.