Package org.cache2k.integration
Interface ExceptionInformation
-
@Deprecated public interface ExceptionInformation
Deprecated.replaced withLoadExceptionInfo
, to be removed in version 2.2- Author:
- Jens Wilke
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Throwable
getException()
Deprecated.The original exception generated by the last recent loader call.ExceptionPropagator
getExceptionPropagator()
Deprecated.The exception propagator in effect.long
getLoadTime()
Deprecated.Start time of the load operation that generated the recent exception.int
getRetryCount()
Deprecated.Number of retry attempts to load the value for the requested key.long
getSinceTime()
Deprecated.Start time of the load that generated the first exception.long
getUntil()
Deprecated.Time in millis until the next retry attempt.
-
-
-
Method Detail
-
getExceptionPropagator
ExceptionPropagator getExceptionPropagator()
Deprecated.The exception propagator in effect.- Since:
- 1.4
-
getException
Throwable getException()
Deprecated.The original exception generated by the last recent loader call.
-
getRetryCount
int getRetryCount()
Deprecated.Number of retry attempts to load the value for the requested key. The value is starting 0 for the first load attempt that yields an exception. The counter is incremented for each consecutive loader exception. After a successful attempt to load the value the counter is reset.- Returns:
- counter starting at 0 for the first load attempt that yields an exception.
-
getSinceTime
long getSinceTime()
Deprecated.Start time of the load that generated the first exception.- Returns:
- time in millis since epoch
-
getLoadTime
long getLoadTime()
Deprecated.Start time of the load operation that generated the recent exception.- Returns:
- time in millis since epoch
-
getUntil
long getUntil()
Deprecated.Time in millis until the next retry attempt. This property is only set in the context of theExceptionPropagator
.- Returns:
- time in millis since epoch
-
-