|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.netty.channel.SimpleChannelHandler
org.neo4j.com.Server<Master,Void>
org.neo4j.kernel.ha.com.master.MasterServer
public class MasterServer
Sits on the master side, receiving serialized requests from slaves (via
MasterClient). Delegates actual work to MasterImpl.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.neo4j.com.Server |
|---|
org.neo4j.com.Server.Configuration |
| Nested classes/interfaces inherited from interface org.jboss.netty.channel.ChannelHandler |
|---|
org.jboss.netty.channel.ChannelHandler.Sharable |
| Field Summary | |
|---|---|
static int |
FRAME_LENGTH
|
| Fields inherited from class org.neo4j.com.Server |
|---|
DEFAULT_MAX_NUMBER_OF_CONCURRENT_TRANSACTIONS |
| Constructor Summary | |
|---|---|
MasterServer(Master requestTarget,
org.neo4j.kernel.logging.Logging logging,
org.neo4j.com.Server.Configuration config,
org.neo4j.com.TxChecksumVerifier txVerifier,
org.neo4j.kernel.monitoring.Monitors monitors)
|
|
| Method Summary | |
|---|---|
protected void |
finishOffChannel(org.jboss.netty.channel.Channel channel,
org.neo4j.com.RequestContext context)
|
protected org.neo4j.com.RequestType<Master> |
getRequestContext(byte id)
|
Map<Integer,Collection<org.neo4j.com.RequestContext>> |
getSlaveInformation()
|
protected boolean |
shouldLogFailureToFinishOffChannel(Throwable failure)
|
| Methods inherited from class org.neo4j.com.Server |
|---|
channelClosed, channelDisconnected, channelOpen, exceptionCaught, getConnectedSlaveChannels, getInternalProtocolVersion, getPipeline, getRequestTarget, getSocketAddress, handleRequest, init, mapSlave, messageReceived, readContext, responseWritten, shutdown, start, stop, targetCaller, tryToFinishOffChannel, tryToFinishOffChannel, unmapSlave, writeComplete, writeFailureResponse |
| Methods inherited from class org.jboss.netty.channel.SimpleChannelHandler |
|---|
bindRequested, channelBound, channelConnected, channelInterestChanged, channelUnbound, childChannelClosed, childChannelOpen, closeRequested, connectRequested, disconnectRequested, handleDownstream, handleUpstream, setInterestOpsRequested, unbindRequested, writeRequested |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int FRAME_LENGTH
| Constructor Detail |
|---|
public MasterServer(Master requestTarget,
org.neo4j.kernel.logging.Logging logging,
org.neo4j.com.Server.Configuration config,
org.neo4j.com.TxChecksumVerifier txVerifier,
org.neo4j.kernel.monitoring.Monitors monitors)
| Method Detail |
|---|
protected org.neo4j.com.RequestType<Master> getRequestContext(byte id)
getRequestContext in class org.neo4j.com.Server<Master,Void>
protected void finishOffChannel(org.jboss.netty.channel.Channel channel,
org.neo4j.com.RequestContext context)
finishOffChannel in class org.neo4j.com.Server<Master,Void>protected boolean shouldLogFailureToFinishOffChannel(Throwable failure)
shouldLogFailureToFinishOffChannel in class org.neo4j.com.Server<Master,Void>public Map<Integer,Collection<org.neo4j.com.RequestContext>> getSlaveInformation()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||