public class SelfDestructiveMap<K extends Comparable<K>,S extends SelfDestructive> extends Object
| Constructor and Description |
|---|
SelfDestructiveMap(Duration defaultTimeoutDuration) |
SelfDestructiveMap(Duration defaultTimeoutDuration,
Duration pulseTimeDuration) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
finalize() |
S |
get(K key) |
S |
putIfAbsent(K key,
S value) |
S |
putIfAbsent(K key,
S value,
Duration timeoutDuration) |
void |
shutdown() |
public SelfDestructiveMap(Duration defaultTimeoutDuration)
public void shutdown()
throws InterruptedException
InterruptedExceptionprotected void finalize()
throws InterruptedException
finalize in class ObjectInterruptedExceptionCopyright © 2019. All rights reserved.