public interface IServerRouter
Modifier and Type | Method and Description |
---|---|
void |
addServer(AbstractServer server)
Register a server to route messages to.
|
long |
getServerEpoch()
Get the current epoch.
|
List<AbstractServer> |
getServers()
Get a list of registered servers.
|
void |
sendResponse(io.netty.channel.ChannelHandlerContext ctx,
CorfuMsg inMsg,
CorfuMsg outMsg) |
void |
setServerEpoch(long newEpoch)
Set the current epoch.
|
void sendResponse(io.netty.channel.ChannelHandlerContext ctx, CorfuMsg inMsg, CorfuMsg outMsg)
long getServerEpoch()
void setServerEpoch(long newEpoch)
void addServer(AbstractServer server)
server
- The server to route messages toList<AbstractServer> getServers()
Copyright © 2019 CorfuDB. All rights reserved.