Modifier and Type | Method and Description |
---|---|
Dosage |
fetch(Credentials credentials,
String table,
Map<String,com.amazonaws.services.dynamodbv2.model.Condition> conditions,
Collection<String> keys)
Fetch the first dosage.
|
public ReValve(Valve valve)
valve
- Origin valve@RetryOnFailure(verbose=false, delay=5L, unit=SECONDS) public Dosage fetch(Credentials credentials, String table, Map<String,com.amazonaws.services.dynamodbv2.model.Condition> conditions, Collection<String> keys) throws IOException
Valve
fetch
in interface Valve
credentials
- Credentials to AWStable
- Table nameconditions
- Conditionskeys
- Keys of the tableIOException
- In case of DynamoDB failureCopyright © 2012–2016 jcabi.com. All rights reserved.