|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
@SPI(status=Stable,
useRestriction=Internal)
public interface ClusterSafeObjectProvider
An SPI allowing to specify which cluster safe object provider to use.
| Method Summary | ||
|---|---|---|
void |
afterAccess()
Will be called after each and every operation on an object retrieved from the cluster safe object provider. |
|
void |
beforeAccess()
Will be called before each and every operation on an object retrieved from the cluster safe object provider. |
|
|
clusterSafeMap(String mapId)
Returns a cluster safe map for the given map ID. |
|
void |
exception(Exception e)
Will be called in case an exception occured during access of an object retrieved from the cluster safe object provider. |
|
void |
reset()
Resets the ClusterSafeObjectProvider to the uninitialized state such that a subsequent call other than
reset() causes a reinitialization of this ClusterSafeObjectProvider. |
|
| Method Detail |
|---|
<K,V> Map<K,V> clusterSafeMap(String mapId)
Returns a cluster safe map for the given map ID. If it does not yet exist, it will be created first. Same map ID means that the same map is returned.
K - the type of the map keysV - the type of the map valuesmapId - the ID of the map to be returned; must not be null
void beforeAccess()
Will be called before each and every operation on an object retrieved from the cluster safe object provider.
void exception(Exception e)
Will be called in case an exception occured during access of an object retrieved from the cluster safe object provider.
e - the exception raisedvoid afterAccess()
Will be called after each and every operation on an object retrieved from the cluster safe object provider.
void reset()
ClusterSafeObjectProvider to the uninitialized state such that a subsequent call other than
reset() causes a reinitialization of this ClusterSafeObjectProvider.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||