org.neo4j.kernel.ha.com.master
Class SlaveClient

java.lang.Object
  extended by org.neo4j.kernel.lifecycle.LifecycleAdapter
      extended by org.neo4j.com.Client<Slave>
          extended by org.neo4j.kernel.ha.com.master.SlaveClient
All Implemented Interfaces:
org.jboss.netty.channel.ChannelPipelineFactory, Slave, org.neo4j.kernel.lifecycle.Lifecycle

public class SlaveClient
extends org.neo4j.com.Client<Slave>
implements Slave


Nested Class Summary
static class SlaveClient.SlaveRequestType
           
 
Field Summary
 
Fields inherited from class org.neo4j.com.Client
DEFAULT_MAX_NUMBER_OF_CONCURRENT_CHANNELS_PER_CLIENT, DEFAULT_READ_RESPONSE_TIMEOUT_SECONDS
 
Constructor Summary
SlaveClient(int machineId, String hostNameOrIp, int port, org.neo4j.kernel.logging.Logging logging, org.neo4j.kernel.impl.nioneo.store.StoreId storeId, int maxConcurrentChannels, int chunkSize)
           
 
Method Summary
 int getServerId()
           
 org.neo4j.com.Response<Void> pullUpdates(String resource, long upToAndIncludingTxId)
           
 
Methods inherited from class org.neo4j.com.Client
addMismatchingVersionHandler, closeChannel, getInternalProtocolVersion, getPipeline, getReadTimeout, getStoreId, readTransactionStreamHeader, readTransactionStreams, releaseChannel, sendRequest, sendRequest, shouldCheckStoreId, start, stop, toString, writeContext
 
Methods inherited from class org.neo4j.kernel.lifecycle.LifecycleAdapter
init, shutdown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SlaveClient

public SlaveClient(int machineId,
                   String hostNameOrIp,
                   int port,
                   org.neo4j.kernel.logging.Logging logging,
                   org.neo4j.kernel.impl.nioneo.store.StoreId storeId,
                   int maxConcurrentChannels,
                   int chunkSize)
Method Detail

pullUpdates

public org.neo4j.com.Response<Void> pullUpdates(String resource,
                                                long upToAndIncludingTxId)
Specified by:
pullUpdates in interface Slave

getServerId

public int getServerId()
Specified by:
getServerId in interface Slave


Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.