org.jboss.ha.framework.server
Class HAPartitionCacheHandlerImpl

java.lang.Object
  extended by org.jboss.ha.framework.server.HAPartitionCacheHandlerImpl
All Implemented Interfaces:
org.jboss.ha.framework.server.spi.HAPartitionCacheHandler

public class HAPartitionCacheHandlerImpl
extends Object
implements org.jboss.ha.framework.server.spi.HAPartitionCacheHandler

Standard implementation of HAPartitionCacheHandler

Author:
Brian Stansberry

Constructor Summary
HAPartitionCacheHandlerImpl()
           
 
Method Summary
 void acquireCache()
           
 org.jboss.cache.Cache<Object,Object> getCache()
           
 org.jgroups.ChannelFactory getCacheChannelFactory()
           
 String getCacheConfigName()
           
 org.jboss.cache.CacheManager getCacheManager()
           
 String getChannelStackName()
           
 void releaseCache()
           
 void setCacheConfigName(String cacheConfigName)
           
 void setCacheManager(org.jboss.cache.CacheManager cacheManager)
           
 void startCache()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HAPartitionCacheHandlerImpl

public HAPartitionCacheHandlerImpl()
Method Detail

acquireCache

public void acquireCache()
                  throws Exception
Specified by:
acquireCache in interface org.jboss.ha.framework.server.spi.HAPartitionCacheHandler
Throws:
Exception

startCache

public void startCache()
                throws Exception
Specified by:
startCache in interface org.jboss.ha.framework.server.spi.HAPartitionCacheHandler
Throws:
Exception

releaseCache

public void releaseCache()
                  throws Exception
Specified by:
releaseCache in interface org.jboss.ha.framework.server.spi.HAPartitionCacheHandler
Throws:
Exception

getCacheConfigName

public String getCacheConfigName()
Specified by:
getCacheConfigName in interface org.jboss.ha.framework.server.spi.HAPartitionCacheHandler

getChannelStackName

public String getChannelStackName()
Specified by:
getChannelStackName in interface org.jboss.ha.framework.server.spi.HAPartitionCacheHandler

getCacheChannelFactory

public org.jgroups.ChannelFactory getCacheChannelFactory()
Specified by:
getCacheChannelFactory in interface org.jboss.ha.framework.server.spi.HAPartitionCacheHandler

setCacheConfigName

public void setCacheConfigName(String cacheConfigName)

getCacheManager

public org.jboss.cache.CacheManager getCacheManager()

setCacheManager

public void setCacheManager(org.jboss.cache.CacheManager cacheManager)

getCache

public org.jboss.cache.Cache<Object,Object> getCache()


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.