T - the key type.public class RecursionDetector<T> extends Object
ConcurrentHashMap.compute(Object, BiFunction)
recursively.| Modifier and Type | Class and Description |
|---|---|
static class |
RecursionDetector.Guard<T>
Helper class to detect recursive calls to the same key.
|
| Constructor and Description |
|---|
RecursionDetector() |
| Modifier and Type | Method and Description |
|---|---|
RecursionDetector.Guard<T> |
guardOn(Iterable<T> keys) |
RecursionDetector.Guard<T> |
guardOn(T key) |
public RecursionDetector.Guard<T> guardOn(T key)
public RecursionDetector.Guard<T> guardOn(Iterable<T> keys)
Copyright © 2016 Atlassian. All rights reserved.