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, unregisterTransportMBeanclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitlog, logErrorDetectingCrashedMember, logUnableToUpdateView, logViewNullWhileDetectingCrashedMemberdebug, debug, debug, debug, debug, debugf, error, info, info, isDebugEnabled, isTraceEnabled, logChannelStillBound, logChannelStillConnected, logErrorBeforeReadingRequest, logExceptionReported, logPostingShutdownRequest, logServerDidNotClose, logServerDidNotUnbind, logSettingMasterThreadsNotSupported, logStartWithArgs, trace, trace, trace, trace, tracef, warnpublic static int DEFAULT_TOPOLOGY_ID()
public ServerAddress getAddress()
public scala.collection.Seq<QueryFacade> getQueryFacades()
public HotRodEncoder getEncoder()
ProtocolServergetEncoder in interface ProtocolServerpublic HotRodDecoder getDecoder()
ProtocolServergetDecoder in interface ProtocolServerpublic void startInternal(HotRodServerConfiguration configuration, EmbeddedCacheManager cacheManager)
startInternal in class AbstractProtocolServerpublic void startTransport()
startTransport in class AbstractProtocolServerpublic Cache<Object,Object> startDefaultCache()
startDefaultCache in class AbstractProtocolServerprotected 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.