public static interface AgentBuilder.RedefinitionStrategy.FailureHandler
Modifier and Type | Interface and Description |
---|---|
static class |
AgentBuilder.RedefinitionStrategy.FailureHandler.Default
Default implementations of
AgentBuilder.RedefinitionStrategy.FailureHandler s. |
Modifier and Type | Method and Description |
---|---|
boolean |
onBatchFailure(List<Class<?>> types,
Throwable throwable)
Invoked when a batch of a retransformation failed.
|
void |
onFailure(Map<List<Class<?>>,Throwable> failures)
Invoked after all batches were completed.
|
boolean onBatchFailure(List<Class<?>> types, Throwable throwable)
types
- The types included in the batch.throwable
- The throwable indicating the failure.true
if the batch failure should be considered as handled.Copyright © 2014–2016. All rights reserved.