public class HotRodServer extends AbstractProtocolServer implements Log
TODO: It's too late for 5.1.1 series. In 5.2, split class into: local and cluster hot rod servers This should safe some memory for the local case and the code should be cleaner
Constructor and Description |
---|
HotRodServer() |
Modifier and Type | Method and Description |
---|---|
protected ConfigurationBuilder |
createTopologyCacheConfig(long distSyncTimeout) |
static int |
DEFAULT_TOPOLOGY_ID() |
ServerAddress |
getAddress() |
Cache<byte[],byte[]> |
getCacheInstance(String cacheName,
EmbeddedCacheManager cacheManager,
boolean skipCacheCheck) |
HotRodDecoder |
getDecoder()
Gets the decoder for this protocol server.
|
HotRodEncoder |
getEncoder()
Gets the encoder for this protocol server.
|
scala.collection.Seq<QueryFacade> |
getQueryFacades() |
boolean |
isCacheNameKnown(String cacheName) |
Cache<Object,Object> |
startDefaultCache() |
void |
startInternal(HotRodServerConfiguration configuration,
EmbeddedCacheManager cacheManager) |
void |
startTransport() |
void |
tryRegisterMigrationManager(String cacheName,
Cache<byte[],byte[]> cache) |
cacheManager, configuration, getCacheManager, getConfiguration, getHost, getPipeline, getPort, registerTransportMBean, start, stop, transport, unregisterTransportMBean
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
log, logErrorDetectingCrashedMember, logUnableToUpdateView, logViewNullWhileDetectingCrashedMember
debug, debug, debug, debug, debug, debugf, error, info, info, isDebugEnabled, isTraceEnabled, logChannelStillBound, logChannelStillConnected, logErrorBeforeReadingRequest, logExceptionReported, logPostingShutdownRequest, logServerDidNotClose, logServerDidNotUnbind, logSettingMasterThreadsNotSupported, logStartWithArgs, trace, trace, trace, trace, tracef, warn
public static int DEFAULT_TOPOLOGY_ID()
public ServerAddress getAddress()
public scala.collection.Seq<QueryFacade> getQueryFacades()
public HotRodEncoder getEncoder()
ProtocolServer
getEncoder
in interface ProtocolServer
public HotRodDecoder getDecoder()
ProtocolServer
getDecoder
in interface ProtocolServer
public void startInternal(HotRodServerConfiguration configuration, EmbeddedCacheManager cacheManager)
startInternal
in class AbstractProtocolServer
public void startTransport()
startTransport
in class AbstractProtocolServer
public Cache<Object,Object> startDefaultCache()
startDefaultCache
in class AbstractProtocolServer
protected ConfigurationBuilder createTopologyCacheConfig(long distSyncTimeout)
public boolean isCacheNameKnown(String cacheName)
public Cache<byte[],byte[]> getCacheInstance(String cacheName, EmbeddedCacheManager cacheManager, boolean skipCacheCheck)
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.