public class GZClusterStoreServer extends ClusterStoreServer
Service.State
callBack, clusterNo, logger, replicaServer, serializer, serverConfig, state, storeMaps
Constructor and Description |
---|
GZClusterStoreServer(ClusterServerConfig serverConfig,
Serializer serializer) |
Modifier and Type | Method and Description |
---|---|
StoreServerFilter |
getGZHandler() |
TCPServer |
getGZServer() |
Service.State |
getStatus() |
protected void |
init() |
void |
setGZHandler(StoreServerFilter handler) |
void |
setGZServer(TCPServer server) |
void |
shutdown() |
void |
start() |
void |
startServer() |
void |
stop() |
void |
stopServer() |
buildMap, findPath, getAllStoreNames, getCallBack, getClusterNo, getHandler, getReplicaServer, getServer, getServerConfig, getState, getStore, getStoreMaps, hookShutdown, startAdminStore, startReplicaServer, stopReplicaServer
public GZClusterStoreServer(ClusterServerConfig serverConfig, Serializer serializer)
protected void init()
init
in class ClusterStoreServer
public void shutdown()
shutdown
in class ClusterStoreServer
public void start()
start
in interface Service
start
in class ClusterStoreServer
public void stop()
stop
in interface Service
stop
in class ClusterStoreServer
public Service.State getStatus()
getStatus
in interface Service
getStatus
in class ClusterStoreServer
public void startServer()
startServer
in class ClusterStoreServer
public void stopServer()
stopServer
in class ClusterStoreServer
public TCPServer getGZServer()
public StoreServerFilter getGZHandler()
public void setGZServer(TCPServer server)
public void setGZHandler(StoreServerFilter handler)
Copyright © 2016. All rights reserved.