|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.neo4j.com.Protocol
org.neo4j.com.Server<Master,Void>
org.neo4j.kernel.ha.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.Protocol |
|---|
Protocol.FileStreamsDeserializer |
| Field Summary |
|---|
| Fields inherited from class org.neo4j.com.Server |
|---|
DEFAULT_BACKUP_PORT, DEFAULT_MAX_NUMBER_OF_CONCURRENT_TRANSACTIONS |
| Fields inherited from class org.neo4j.com.Protocol |
|---|
DEFAULT_FRAME_LENGTH, EMPTY_SERIALIZER, INTEGER_DESERIALIZER, INTEGER_SERIALIZER, LONG_SERIALIZER, MEGA, PORT, VOID_DESERIALIZER, VOID_SERIALIZER |
| Constructor Summary | |
|---|---|
MasterServer(Master realMaster,
int port,
String storeDir)
|
|
| Method Summary | |
|---|---|
protected void |
finishOffChannel(org.jboss.netty.channel.Channel channel,
SlaveContext context)
|
protected RequestType<Master> |
getRequestContext(byte id)
|
Map<Integer,Collection<SlaveContext>> |
getSlaveInformation()
|
void |
shutdown()
|
| Methods inherited from class org.neo4j.com.Server |
|---|
getConnectedSlaveChannels, getMaster, getPipeline, handleRequest, mapSlave, readContext, responseWritten, tryToFinishOffChannel, tryToFinishOffChannel, unmapSlave |
| Methods inherited from class org.neo4j.com.Protocol |
|---|
addLengthFieldPipes, readString, readString, writeChars, writeString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MasterServer(Master realMaster,
int port,
String storeDir)
| Method Detail |
|---|
protected RequestType<Master> getRequestContext(byte id)
getRequestContext in class Server<Master,Void>
protected void finishOffChannel(org.jboss.netty.channel.Channel channel,
SlaveContext context)
finishOffChannel in class Server<Master,Void>public void shutdown()
shutdown in class Server<Master,Void>public Map<Integer,Collection<SlaveContext>> getSlaveInformation()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||