com.netflix.astyanax.connectionpool.impl
Class BadHostDetectorImpl

java.lang.Object
  extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.netflix.astyanax.connectionpool.BadHostDetector
BadHostDetector.Instance
 
Constructor Summary
BadHostDetectorImpl(ConnectionPoolConfiguration config)
           
 
Method Summary
 BadHostDetector.Instance createInstance()
           
 void removeInstance(BadHostDetector.Instance instance)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BadHostDetectorImpl

public BadHostDetectorImpl(ConnectionPoolConfiguration config)
Method Detail

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.