org.jboss.web.tomcat.service.session.distributedcache.impl.jbc
Class CacheListenerBase
java.lang.Object
org.jboss.web.tomcat.service.session.distributedcache.impl.jbc.CacheListenerBase
- Direct Known Subclasses:
- CacheListener, PassivationListener
public class CacheListenerBase
- extends Object
Base class for JBC cache listener impls.
- Author:
- Brian Stansberry
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SESSION_ID_FQN_INDEX
protected static final int SESSION_ID_FQN_INDEX
- See Also:
- Constant Field Values
BUDDY_BACKUP_ROOT_OWNER_SIZE
protected static final int BUDDY_BACKUP_ROOT_OWNER_SIZE
manager_
protected org.jboss.web.tomcat.service.session.distributedcache.spi.LocalDistributableSessionManager manager_
isFqnForOurWebapp
protected boolean isFqnForOurWebapp(org.jboss.cache.Fqn<String> fqn,
boolean isBuddy)
isFqnSessionRootSized
public static boolean isFqnSessionRootSized(org.jboss.cache.Fqn<String> fqn,
boolean isBuddy)
getIdFromFqn
public static String getIdFromFqn(org.jboss.cache.Fqn<String> fqn,
boolean isBuddy)
isBuddyFqn
public static boolean isBuddyFqn(org.jboss.cache.Fqn<String> fqn)
getBuddyOwner
public static String getBuddyOwner(org.jboss.cache.Fqn<String> fqn)
- Extracts the owner portion of an buddy subtree Fqn.
- Parameters:
fqn
- An Fqn that is a child of the buddy backup root node.
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.