public class TemplateExpirationManager extends Object implements IConsumerObject<Object>
Constructor and Description |
---|
TemplateExpirationManager(CacheManager cacheManager) |
Modifier and Type | Method and Description |
---|---|
void |
addTemplate(ITemplateHolder template) |
void |
cancelTemplateHolder(ITemplateHolder template,
Exception exp) |
void |
cleanUp()
clean up resources
|
void |
dispatch(Object req)
dispatching an object
|
void |
removeTemplate(ITemplateHolder template) |
void |
returnWithExceptionFromAllPendingTemplates(Exception exp) |
void |
shutDown() |
void |
start() |
public TemplateExpirationManager(CacheManager cacheManager)
public void start()
public void dispatch(Object req)
IConsumerObject
dispatch
in interface IConsumerObject<Object>
public void cancelTemplateHolder(ITemplateHolder template, Exception exp)
public void cleanUp()
IConsumerObject
cleanUp
in interface IConsumerObject<Object>
public void shutDown()
public void addTemplate(ITemplateHolder template)
public void returnWithExceptionFromAllPendingTemplates(Exception exp)
public void removeTemplate(ITemplateHolder template)
Copyright © GigaSpaces.