|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.netflix.karyon.server.eureka.SyncHealthCheckInvocationStrategy
public class SyncHealthCheckInvocationStrategy
An implementation of HealthCheckInvocationStrategy that synchronously calls the underlying
HealthCheckHandler.
| Constructor Summary | |
|---|---|
SyncHealthCheckInvocationStrategy(com.netflix.karyon.spi.HealthCheckHandler handler)
|
|
| Method Summary | |
|---|---|
com.netflix.karyon.spi.HealthCheckHandler |
getHandler()
Returns the instance of HealthCheckHandler associated with this strategy. |
int |
invokeCheck()
Invokes the handler associated with this strategy and returns the response. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Inject public SyncHealthCheckInvocationStrategy(com.netflix.karyon.spi.HealthCheckHandler handler)
| Method Detail |
|---|
public int invokeCheck()
throws java.util.concurrent.TimeoutException
HealthCheckInvocationStrategy
invokeCheck in interface HealthCheckInvocationStrategyjava.util.concurrent.TimeoutException - If the healthcheck did not return after the stipulated time (governed entirely by this
strategy implementation)public com.netflix.karyon.spi.HealthCheckHandler getHandler()
HealthCheckInvocationStrategyHealthCheckHandler associated with this strategy.
getHandler in interface HealthCheckInvocationStrategyHealthCheckHandler associated with this strategy.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||