Package com.jcabi.dynamo.retry
Class ReFrame
java.lang.Object
com.jcabi.dynamo.retry.ReFrame
- All Implemented Interfaces:
Frame,Iterable<Item>,Collection<Item>
Frame that retries on failure.
- Since:
- 0.9
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanaddAll(Collection<? extends Item> list) voidclear()booleanbooleancontainsAll(Collection<?> list) booleanisEmpty()iterator()booleanbooleanremoveAll(Collection<?> list) booleanretainAll(Collection<?> list) intsize()table()Get back to the table this frame came from.Change valve for items fetching.Object[]toArray()<T> T[]toArray(T[] arr) Refine using this EQ condition argument.Refine using this condition.Refine using these conditions.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
equals, hashCode, parallelStream, removeIf, spliterator, stream, toArray
-
Constructor Details
-
ReFrame
Public ctor.- Parameters:
frame- Origin frame
-
-
Method Details
-
where
@RetryOnFailure(verbose=false, delay=5L, unit=SECONDS) public Frame where(String name, String value) Description copied from interface:FrameRefine using this EQ condition argument. -
where
@RetryOnFailure(verbose=false, delay=5L, unit=SECONDS) public Frame where(String name, software.amazon.awssdk.services.dynamodb.model.Condition condition) Description copied from interface:FrameRefine using this condition.It is recommended to use a utility static method
Conditions.equalTo(Object), when condition is simply an equation to a plain string value. -
where
@RetryOnFailure(verbose=false, delay=5L, unit=SECONDS) public Frame where(Map<String, software.amazon.awssdk.services.dynamodb.model.Condition> conditions) Description copied from interface:FrameRefine using these conditions.It is recommended to use
Conditionssupplementary class instead of a rawMap. -
table
Description copied from interface:FrameGet back to the table this frame came from. -
through
Description copied from interface:FrameChange valve for items fetching. -
size
- Specified by:
sizein interfaceCollection<Item>
-
isEmpty
- Specified by:
isEmptyin interfaceCollection<Item>
-
contains
- Specified by:
containsin interfaceCollection<Item>
-
iterator
-
toArray
- Specified by:
toArrayin interfaceCollection<Item>
-
toArray
- Specified by:
toArrayin interfaceCollection<Item>
-
add
- Specified by:
addin interfaceCollection<Item>
-
remove
- Specified by:
removein interfaceCollection<Item>
-
containsAll
@RetryOnFailure(verbose=false, delay=5L, unit=SECONDS) public boolean containsAll(Collection<?> list) - Specified by:
containsAllin interfaceCollection<Item>
-
addAll
@RetryOnFailure(verbose=false, delay=5L, unit=SECONDS) public boolean addAll(Collection<? extends Item> list) - Specified by:
addAllin interfaceCollection<Item>
-
removeAll
- Specified by:
removeAllin interfaceCollection<Item>
-
retainAll
- Specified by:
retainAllin interfaceCollection<Item>
-
clear
- Specified by:
clearin interfaceCollection<Item>
-