public class RetryIfSocketNotYetOpen extends Object implements com.google.common.base.Predicate<com.google.common.net.HostAndPort>
Constructor and Description |
---|
RetryIfSocketNotYetOpen(SocketOpen socketTester,
ComputeServiceConstants.Timeouts timeouts) |
RetryIfSocketNotYetOpen(SocketOpen socketTester,
Logger logger) |
RetryIfSocketNotYetOpen(SocketOpen socketTester,
Logger logger,
long timeoutValue,
TimeUnit timeoutUnits) |
Modifier and Type | Method and Description |
---|---|
boolean |
apply(com.google.common.net.HostAndPort socket) |
RetryIfSocketNotYetOpen |
milliseconds(long milliseconds) |
RetryIfSocketNotYetOpen |
seconds(long seconds) |
String |
toString() |
public RetryIfSocketNotYetOpen(SocketOpen socketTester, Logger logger, long timeoutValue, TimeUnit timeoutUnits)
public RetryIfSocketNotYetOpen(SocketOpen socketTester, Logger logger)
@Inject public RetryIfSocketNotYetOpen(SocketOpen socketTester, ComputeServiceConstants.Timeouts timeouts)
public RetryIfSocketNotYetOpen milliseconds(long milliseconds)
public RetryIfSocketNotYetOpen seconds(long seconds)
public boolean apply(com.google.common.net.HostAndPort socket)
apply
in interface com.google.common.base.Predicate<com.google.common.net.HostAndPort>
Copyright © 2009-2013 jclouds. All Rights Reserved.