public class FreshProcessor
extends java.lang.Object
Constructor and Description |
---|
FreshProcessor()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear pending requests
|
boolean |
post(java.lang.Runnable request)
Post a new request to be processed replacing any pending request.
|
protected void |
postProcess()
Perform post processing
|
void |
terminate()
Stop processing pending requests
|
public void clear()
public void terminate()
public boolean post(java.lang.Runnable request)
request
- Runnable request to be processedprotected void postProcess() throws java.lang.Exception
java.lang.Exception