public interface GroupAwareBackingCache<K extends Serializable,V extends Cacheable<K>,G extends Serializable,M extends SerializationGroupMember<K,V,G>> extends PassivatingBackingCache<K,V,M>
BackingCache that can manage the relationship of its underlying entries to any SerializationGroup.| Modifier and Type | Method and Description |
|---|---|
SerializationGroup<K,V,G> |
createGroup()
Create a
SerializationGroup to contain objects cached by this object. |
void |
notifyPreReplicate(M member)
Callback from the group informing the cache it needs to invoke pre-replication callbacks on the member.
|
void |
setGroup(V obj,
SerializationGroup<K,V,G> group)
Assign the given object to the given group.
|
getCompatibilityCheckeraddLifecycleListener, create, discard, get, isClustered, peek, release, removeLifecycleListener, start, stopgetStrictAffinity, getWeakAffinity, hasAffinitypassivateSerializationGroup<K,V,G> createGroup()
SerializationGroup to contain objects cached by this object.SerializationGroupvoid setGroup(V obj, SerializationGroup<K,V,G> group)
SerializationGroup implementation type
returned by createGroup().obj - group - IllegalStateException - if the group's cache is incompatible with ourself.void notifyPreReplicate(M member)
member - the group memberIllegalStateException - if the member is in-use.Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.