Package org.jclouds.compute.stub.config
Class StubComputeServiceDependenciesModule.StubSocketOpen
java.lang.Object
org.jclouds.compute.stub.config.StubComputeServiceDependenciesModule.StubSocketOpen
- All Implemented Interfaces:
com.google.common.base.Predicate<com.google.common.net.HostAndPort>
,Predicate<com.google.common.net.HostAndPort>
,SocketOpen
- Enclosing class:
StubComputeServiceDependenciesModule
@Singleton
public static class StubComputeServiceDependenciesModule.StubSocketOpen
extends Object
implements SocketOpen
-
Constructor Summary
ConstructorsConstructorDescriptionStubSocketOpen
(ConcurrentMap<String, NodeMetadata> nodes, String publicIpPrefix) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.common.base.Predicate
equals, test
-
Constructor Details
-
StubSocketOpen
@Inject public StubSocketOpen(ConcurrentMap<String, NodeMetadata> nodes, @Named("PUBLIC_IP_PREFIX") String publicIpPrefix)
-
-
Method Details
-
apply
public boolean apply(com.google.common.net.HostAndPort input) - Specified by:
apply
in interfacecom.google.common.base.Predicate<com.google.common.net.HostAndPort>
-