org.neo4j.kernel.ha.com.slave
Class MasterClientResolver
java.lang.Object
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
|
Constructor Summary |
MasterClientResolver(org.neo4j.kernel.logging.Logging logging,
int readTimeout,
int lockReadTimeout,
int channels,
int chunkSize)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MasterClientResolver
public MasterClientResolver(org.neo4j.kernel.logging.Logging logging,
int readTimeout,
int lockReadTimeout,
int channels,
int chunkSize)
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.