Package io.aether.utils.streams
Class ValueOnDrop<T>
- java.lang.Object
-
- io.aether.utils.streams.ValueProxy<T>
-
- io.aether.utils.streams.ValueOnDrop<T>
-
- All Implemented Interfaces:
Value<T>,io.aether.utils.ToString
public class ValueOnDrop<T> extends ValueProxy<T>
-
-
Field Summary
-
Fields inherited from class io.aether.utils.streams.ValueProxy
self
-
Fields inherited from interface io.aether.utils.streams.Value
BLOCK_COUNTER, CLOSE_INSTANCE, FORCE_INSTANCE, TIMEOUT
-
-
Constructor Summary
Constructors Constructor Description ValueOnDrop(Value<T> self, io.aether.utils.interfaces.AConsumer<java.lang.Object> task)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsuccess(java.lang.Object owner)Releases resources associated with this value when it's no longer needed.-
Methods inherited from class io.aether.utils.streams.ValueProxy
data, enter, getRequestDataId, isClose, isData, isForce, isRequestData, priority, reject, toString, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.aether.utils.streams.Value
addRequest, isOnlyRequestData, linkFuture, linkOnRejectExclusive, map, map2, notClose, onEnter, onReject, onSuccess, reject, timeout, timeout, withClose, withForce
-
-
-
-
Method Detail
-
success
public void success(java.lang.Object owner)
Description copied from interface:ValueReleases resources associated with this value when it's no longer needed. This is the normal end-of-life operation for a value.
-
-