|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectgriffon.plugins.simpledb.SimpledbClientHolder
@Singleton class SimpledbClientHolder extends Object
| Field Summary | |
|---|---|
private static Object[] |
LOCK
|
private static org.slf4j.Logger |
LOG
|
private Map |
clients
|
| Constructor Summary | |
SimpledbClientHolder()
|
|
| Method Summary | |
|---|---|
void
|
disconnectClient(String clientName)
|
private com.amazonaws.services.simpledb.AmazonSimpleDB
|
fetchClient(String clientName)
|
com.amazonaws.services.simpledb.AmazonSimpleDB
|
getClient(String clientName = 'default')
|
String[]
|
getClientNames()
|
boolean
|
isClientConnected(String clientName)
|
private com.amazonaws.services.simpledb.AmazonSimpleDB
|
retrieveClient(String clientName)
|
void
|
setClient(String clientName = 'default', com.amazonaws.services.simpledb.AmazonSimpleDB client)
|
private void
|
storeClient(String clientName, com.amazonaws.services.simpledb.AmazonSimpleDB client)
|
Object
|
withSimpledb(String clientName = 'default', Closure closure)
|
Object
|
withSimpledb(String clientName = 'default', CallableWithArgs callable)
|
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Field Detail |
|---|
private static final Object[] LOCK
private static final org.slf4j.Logger LOG
private final Map clients
| Constructor Detail |
|---|
SimpledbClientHolder()
| Method Detail |
|---|
void disconnectClient(String clientName)
private com.amazonaws.services.simpledb.AmazonSimpleDB fetchClient(String clientName)
com.amazonaws.services.simpledb.AmazonSimpleDB getClient(String clientName = 'default')
String[] getClientNames()
boolean isClientConnected(String clientName)
private com.amazonaws.services.simpledb.AmazonSimpleDB retrieveClient(String clientName)
void setClient(String clientName = 'default', com.amazonaws.services.simpledb.AmazonSimpleDB client)
private void storeClient(String clientName, com.amazonaws.services.simpledb.AmazonSimpleDB client)
Object withSimpledb(String clientName = 'default', Closure closure)
Object withSimpledb(String clientName = 'default', CallableWithArgs callable)
Groovy Documentation