|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.inject.AbstractModule
org.jclouds.compute.stub.config.StubComputeServiceDependenciesModule
public class StubComputeServiceDependenciesModule
| Nested Class Summary | |
|---|---|
static class |
StubComputeServiceDependenciesModule.StubSocketOpen
|
| Field Summary | |
|---|---|
protected static com.google.common.cache.LoadingCache<String,ConcurrentMap<String,NodeMetadata>> |
backing
|
protected static com.google.common.cache.LoadingCache<String,AtomicInteger> |
nodeIds
|
| Constructor Summary | |
|---|---|
StubComputeServiceDependenciesModule()
|
|
| Method Summary | |
|---|---|
protected void |
configure()
|
protected Integer |
provideNodeIdForIdentity(String identity)
|
protected ConcurrentMap<String,NodeMetadata> |
provideNodesForIdentity(String identity)
|
| Methods inherited from class com.google.inject.AbstractModule |
|---|
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final com.google.common.cache.LoadingCache<String,ConcurrentMap<String,NodeMetadata>> backing
protected static final com.google.common.cache.LoadingCache<String,AtomicInteger> nodeIds
| Constructor Detail |
|---|
public StubComputeServiceDependenciesModule()
| Method Detail |
|---|
protected void configure()
configure in class com.google.inject.AbstractModule
@Provides
@Singleton
protected ConcurrentMap<String,NodeMetadata> provideNodesForIdentity(String identity)
throws ExecutionException
ExecutionException
@Provides
@Named(value="NODE_ID")
protected Integer provideNodeIdForIdentity(String identity)
throws ExecutionException
ExecutionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||