|
|||||||||
| 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. |
|
| 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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||