Class TemplateExpirationManager
java.lang.Object
com.gigaspaces.internal.server.space.TemplateExpirationManager
- All Implemented Interfaces:
IConsumerObject<Object>
a time based service that is responsible of sending back an empty response back to the client
when the template timeout is reached and no answer is found.
- Since:
- 6.1
- Author:
- asy ronen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTemplate(ITemplateHolder template) voidcancelTemplateHolder(ITemplateHolder template, Exception exp) voidcleanUp()clean up resourcesvoiddispatching an objectvoidremoveTemplate(ITemplateHolder template) voidvoidshutDown()voidstart()
-
Constructor Details
-
TemplateExpirationManager
-
-
Method Details
-
start
public void start() -
dispatch
Description copied from interface:IConsumerObjectdispatching an object- Specified by:
dispatchin interfaceIConsumerObject<Object>
-
cancelTemplateHolder
-
cleanUp
public void cleanUp()Description copied from interface:IConsumerObjectclean up resources- Specified by:
cleanUpin interfaceIConsumerObject<Object>
-
shutDown
public void shutDown() -
addTemplate
-
returnWithExceptionFromAllPendingTemplates
-
removeTemplate
-