- java.lang.Object
-
- aeonics.manager.Snapshot.ModuleAwareBiConsumer
-
- All Implemented Interfaces:
Functions.BiConsumer<Data,Snapshot>
,Functions.Consumer<Data>
- Enclosing class:
- Snapshot
protected static class Snapshot.ModuleAwareBiConsumer extends java.lang.Object implements Functions.BiConsumer<Data,Snapshot>
This class is used to track the owning module of the handler. This can then be used by the Snapshot implementation to discriminate the process.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(Data a, Snapshot b)
Performs this operation on the given arguments.java.lang.Class<?>
origin()
Returns the class definition of the original handler-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface aeonics.util.Functions.BiConsumer
accept
-
-
-
-
Method Detail
-
origin
public java.lang.Class<?> origin()
Returns the class definition of the original handler- Returns:
- the class definition of the original handler
-
accept
public void accept(Data a, Snapshot b) throws java.lang.Exception
Description copied from interface:Functions.BiConsumer
Performs this operation on the given arguments.- Specified by:
accept
in interfaceFunctions.BiConsumer<Data,Snapshot>
- Parameters:
a
- the input argumentb
- the input argument- Throws:
java.lang.Exception
- if an error happens
-
-