public class DriverRemoteTraversalSideEffects extends AbstractRemoteTraversalSideEffects
TraversalSideEffects.Exceptions
Constructor and Description |
---|
DriverRemoteTraversalSideEffects(Client client,
UUID serverSideEffect,
Host host) |
Modifier and Type | Method and Description |
---|---|
<V> V |
get(String key)
Get the sideEffect associated with the provided key.
|
Set<String> |
keys()
The keys of the sideEffect which includes registered
Supplier keys. |
add, clone, getReducer, getRegisteredSupplier, getSackInitialValue, getSackMerger, getSackSplitter, getSupplier, mergeInto, register, registerIfAbsent, registerSupplier, remove, set, setSack, toString
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
exists, forEach, getOrCreate, isEmpty, registerSupplierIfAbsent
public <V> V get(String key) throws IllegalArgumentException
TraversalSideEffects
Supplier
for that key, generate the object, store the object in the sideEffects, and return it.V
- the type of the value to retrievekey
- the key to get the value forIllegalArgumentException
- if the key does not reference an object or a registered supplier.public Set<String> keys()
TraversalSideEffects
Supplier
keys.
In essence, that which is possible to get().Copyright © 2013–2016 Apache Software Foundation. All rights reserved.