public class DefaultBTGInvalidationDataContainer extends java.lang.Object implements BTGInvalidationDataContainer<BTGAbstractResultModel>
BTGInvalidationDataContainer that uses current Session to hold the invalidation data. This means that
the invalidation data is discarded once the Session is destroyed.| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
BTG_INVALIDATION_DATA_CONTAINER_SESSION_ATTRIBUTE_NAME |
| Constructor and Description |
|---|
DefaultBTGInvalidationDataContainer() |
| Modifier and Type | Method and Description |
|---|---|
protected SessionService |
getSessionService() |
boolean |
isInvalidated(BTGAbstractResultModel resultModel) |
protected boolean |
isInvalidatedWhenNoCacheEntryExists()
Provided to make it easy to change of default behaviour for subclasses.
|
void |
setInvalidated(BTGAbstractResultModel resultModel,
boolean invalidated) |
void |
setSessionService(SessionService sessionService) |
protected static final java.lang.String BTG_INVALIDATION_DATA_CONTAINER_SESSION_ATTRIBUTE_NAME
protected SessionService getSessionService()
public void setSessionService(SessionService sessionService)
public boolean isInvalidated(BTGAbstractResultModel resultModel)
isInvalidated in interface BTGInvalidationDataContainer<BTGAbstractResultModel>public void setInvalidated(BTGAbstractResultModel resultModel, boolean invalidated)
setInvalidated in interface BTGInvalidationDataContainer<BTGAbstractResultModel>protected boolean isInvalidatedWhenNoCacheEntryExists()
Copyright © 2018 SAP SE. All Rights Reserved.