Package one.microstream.storage.types
Class DisruptionCollector.Default
- java.lang.Object
-
- one.microstream.storage.types.DisruptionCollector.Default
-
- All Implemented Interfaces:
DisruptionCollector
- Direct Known Subclasses:
DisruptionCollectorExecuting.WrapperThrowingProcedure
- Enclosing interface:
- DisruptionCollector
public static class DisruptionCollector.Default extends Object implements DisruptionCollector
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface one.microstream.storage.types.DisruptionCollector
DisruptionCollector.Default
-
-
Constructor Summary
Constructors Constructor Description Default()
-
Method Summary
Modifier and Type Method Description DisruptionCollector
collectDisruption(Throwable disruption)
boolean
hasDisruptions()
DisruptionCollector
reset()
Throwable[]
toArray()
MultiCauseException
toMultiCauseException(int stackTraceCutDepth)
<C extends Consumer<? super Throwable>>
Cyield(C target)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface one.microstream.storage.types.DisruptionCollector
execute, execute, execute, execute, execute, toMultiCauseException, yield
-
-
-
-
Method Detail
-
collectDisruption
public final DisruptionCollector collectDisruption(Throwable disruption)
- Specified by:
collectDisruption
in interfaceDisruptionCollector
-
yield
public final <C extends Consumer<? super Throwable>> C yield(C target)
- Specified by:
yield
in interfaceDisruptionCollector
-
hasDisruptions
public final boolean hasDisruptions()
- Specified by:
hasDisruptions
in interfaceDisruptionCollector
-
reset
public DisruptionCollector reset()
- Specified by:
reset
in interfaceDisruptionCollector
-
toArray
public Throwable[] toArray()
- Specified by:
toArray
in interfaceDisruptionCollector
-
toMultiCauseException
public MultiCauseException toMultiCauseException(int stackTraceCutDepth)
- Specified by:
toMultiCauseException
in interfaceDisruptionCollector
-
-