com.netflix.astyanax.connectionpool.impl
Class BadHostDetectorImpl
java.lang.Object
com.netflix.astyanax.connectionpool.impl.BadHostDetectorImpl
- All Implemented Interfaces:
- BadHostDetector
public class BadHostDetectorImpl
- extends Object
- implements BadHostDetector
BadHostDetector which marks the host as failed if there is a transport
exception or if it timed out too many times within a certain time window
- Author:
- elandau
BadHostDetectorImpl
public BadHostDetectorImpl(ConnectionPoolConfiguration config)
toString
public String toString()
- Overrides:
toString
in class Object
createInstance
public BadHostDetector.Instance createInstance()
- Specified by:
createInstance
in interface BadHostDetector
removeInstance
public void removeInstance(BadHostDetector.Instance instance)
- Specified by:
removeInstance
in interface BadHostDetector
Copyright © 2012. All Rights Reserved.