public class ExceptionTimeVault extends Object
Constructor and Description |
---|
ExceptionTimeVault(Duration preservationDuration) |
Modifier and Type | Method and Description |
---|---|
SortedMap<Integer,String> |
aggregateTypesOrderedByFrequencyAsSortedMap() |
void |
clear() |
List<String> |
dump() |
long |
getTotalNumberOfExceptionsForLast(Duration duration) |
boolean |
recordException(Throwable throwable) |
void |
setPreservationDuration(Duration preservationDuration) |
public ExceptionTimeVault(Duration preservationDuration)
public SortedMap<Integer,String> aggregateTypesOrderedByFrequencyAsSortedMap()
public boolean recordException(Throwable throwable)
public void clear()
public long getTotalNumberOfExceptionsForLast(Duration duration)
public void setPreservationDuration(Duration preservationDuration)
Copyright © 2018 SAP SE. All rights reserved.