org.jclouds.compute.predicates
Class RetryIfSocketNotYetOpen
java.lang.Object
org.jclouds.compute.predicates.RetryIfSocketNotYetOpen
- All Implemented Interfaces:
- com.google.common.base.Predicate<IPSocket>
public class RetryIfSocketNotYetOpen
- extends Object
- implements com.google.common.base.Predicate<IPSocket>
Not singleton as seconds are mutable
- Author:
- Adrian Cole
Methods inherited from interface com.google.common.base.Predicate |
equals |
RetryIfSocketNotYetOpen
public RetryIfSocketNotYetOpen(SocketOpen socketTester,
Logger logger,
long timeoutValue,
TimeUnit timeoutUnits)
RetryIfSocketNotYetOpen
public RetryIfSocketNotYetOpen(SocketOpen socketTester,
Logger logger)
RetryIfSocketNotYetOpen
@Inject
public RetryIfSocketNotYetOpen(SocketOpen socketTester,
ComputeServiceConstants.Timeouts timeouts)
RetryIfSocketNotYetOpen
@Deprecated
public RetryIfSocketNotYetOpen(SocketOpen socketTester,
Logger logger,
long seconds)
- Deprecated. in favor of specifying explicit time units
milliseconds
public RetryIfSocketNotYetOpen milliseconds(long milliseconds)
seconds
public RetryIfSocketNotYetOpen seconds(long seconds)
toString
public String toString()
- Overrides:
toString
in class Object
apply
public boolean apply(IPSocket socket)
- Specified by:
apply
in interface com.google.common.base.Predicate<IPSocket>
Copyright © 2009-2011 jclouds. All Rights Reserved.