org.neo4j.kernel.ha.com.slave
Class MasterClientResolver

java.lang.Object
  extended by org.neo4j.kernel.ha.com.slave.MasterClientResolver
All Implemented Interfaces:
org.neo4j.com.MismatchingVersionHandler, MasterClientFactory

public class MasterClientResolver
extends Object
implements MasterClientFactory, org.neo4j.com.MismatchingVersionHandler


Nested Class Summary
static class MasterClientResolver.F153
           
static class MasterClientResolver.F17
           
static class MasterClientResolver.F18
           
static class MasterClientResolver.F20
           
protected static class MasterClientResolver.StaticMasterClientFactory
           
 
Constructor Summary
MasterClientResolver(org.neo4j.kernel.logging.Logging logging, int readTimeout, int lockReadTimeout, int channels, int chunkSize)
           
 
Method Summary
 void enableDowngradeBarrier()
           
 MasterClientFactory getDefault()
           
 MasterClientFactory getFor(int applicationProtocol, int internalProtocol)
           
 MasterClient instantiate(String hostNameOrIp, int port, org.neo4j.kernel.impl.nioneo.store.StoreId storeId, org.neo4j.kernel.lifecycle.LifeSupport life)
           
 void versionMismatched(int expected, int received)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MasterClientResolver

public MasterClientResolver(org.neo4j.kernel.logging.Logging logging,
                            int readTimeout,
                            int lockReadTimeout,
                            int channels,
                            int chunkSize)
Method Detail

instantiate

public MasterClient instantiate(String hostNameOrIp,
                                int port,
                                org.neo4j.kernel.impl.nioneo.store.StoreId storeId,
                                org.neo4j.kernel.lifecycle.LifeSupport life)
Specified by:
instantiate in interface MasterClientFactory

versionMismatched

public void versionMismatched(int expected,
                              int received)
Specified by:
versionMismatched in interface org.neo4j.com.MismatchingVersionHandler

getFor

public MasterClientFactory getFor(int applicationProtocol,
                                  int internalProtocol)

getDefault

public MasterClientFactory getDefault()

enableDowngradeBarrier

public void enableDowngradeBarrier()


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