public interface ReplicationPassivationManager<K,V extends Identifiable<K>> extends PassivationManager<K,V>
Modifier and Type | Method and Description |
---|---|
void |
postReplicate(V obj)
This method is called after a previously replicated object has been retrieved from a clustered cache.
|
void |
preReplicate(V obj)
This method is called before an object is replicated by a clustered cache.
|
getMarshallingConfiguration, postActivate, prePassivate
void postReplicate(V obj)
obj
- the object.void preReplicate(V obj)
obj
- the objectIllegalStateException
- if obj
, or another object in the same serialization group as obj
,
is in use. Checking if an object is in use and throwing this exception is not required, so callers should not
assume it will be thrown.Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.