public abstract class AbstractProtocolServer extends Object implements ProtocolServer, Log
| Constructor and Description |
|---|
AbstractProtocolServer(String protocolName) |
| Modifier and Type | Method and Description |
|---|---|
protected EmbeddedCacheManager |
cacheManager() |
protected org.infinispan.server.core.ProtocolServer.SuitableConfiguration |
configuration() |
EmbeddedCacheManager |
getCacheManager() |
org.infinispan.server.core.ProtocolServer.SuitableConfiguration |
getConfiguration()
Returns the configuration used to start this server
|
String |
getHost() |
LifecycleChannelPipelineFactory |
getPipeline()
Returns a pipeline factory
|
int |
getPort() |
protected void |
registerTransportMBean() |
void |
start(org.infinispan.server.core.ProtocolServer.SuitableConfiguration configuration,
EmbeddedCacheManager cacheManager)
Starts the server backed by the given cache manager and with the corresponding configuration.
|
Cache<Object,Object> |
startDefaultCache() |
protected void |
startInternal(org.infinispan.server.core.ProtocolServer.SuitableConfiguration configuration,
EmbeddedCacheManager cacheManager) |
void |
startTransport() |
void |
stop()
Stops the server
|
protected NettyTransport |
transport() |
protected void |
unregisterTransportMBean() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDecoder, getEncoderdebug, debug, debug, debug, debug, debugf, error, info, info, isDebugEnabled, isTraceEnabled, log, logChannelStillBound, logChannelStillConnected, logErrorBeforeReadingRequest, logExceptionReported, logPostingShutdownRequest, logServerDidNotClose, logServerDidNotUnbind, logSettingMasterThreadsNotSupported, logStartWithArgs, trace, trace, trace, trace, tracef, warnpublic AbstractProtocolServer(String protocolName)
protected NettyTransport transport()
protected EmbeddedCacheManager cacheManager()
protected org.infinispan.server.core.ProtocolServer.SuitableConfiguration configuration()
protected void startInternal(org.infinispan.server.core.ProtocolServer.SuitableConfiguration configuration,
EmbeddedCacheManager cacheManager)
public final void start(org.infinispan.server.core.ProtocolServer.SuitableConfiguration configuration,
EmbeddedCacheManager cacheManager)
ProtocolServerstart in interface ProtocolServerpublic void startTransport()
public LifecycleChannelPipelineFactory getPipeline()
ProtocolServergetPipeline in interface ProtocolServerprotected void registerTransportMBean()
protected void unregisterTransportMBean()
public void stop()
ProtocolServerstop in interface ProtocolServerpublic EmbeddedCacheManager getCacheManager()
public org.infinispan.server.core.ProtocolServer.SuitableConfiguration getConfiguration()
ProtocolServergetConfiguration in interface ProtocolServerpublic String getHost()
public int getPort()
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.