protected static class AgentBuilder.Default.ExecutingTransformer.FailureCollectingListener extends AgentBuilder.RedefinitionStrategy.Listener.Adapter
AgentBuilder.RedefinitionStrategy.Listener.Adapter, AgentBuilder.RedefinitionStrategy.Listener.Compound, AgentBuilder.RedefinitionStrategy.Listener.ErrorEscalating, AgentBuilder.RedefinitionStrategy.Listener.NoOp, AgentBuilder.RedefinitionStrategy.Listener.Pausing, AgentBuilder.RedefinitionStrategy.Listener.StreamWriting, AgentBuilder.RedefinitionStrategy.Listener.Yielding| Modifier | Constructor and Description |
|---|---|
protected |
FailureCollectingListener(Map<Class<?>,Throwable> failures)
Creates a new failure collecting listener.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
int |
hashCode() |
void |
onError(int index,
List<Class<?>> batch,
Throwable throwable,
List<Class<?>> types)
Invoked upon an error during a batch.
|
String |
toString() |
onBatch, onCompletepublic void onError(int index,
List<Class<?>> batch,
Throwable throwable,
List<Class<?>> types)
AgentBuilder.RedefinitionStrategy.ListeneronError in interface AgentBuilder.RedefinitionStrategy.ListeneronError in class AgentBuilder.RedefinitionStrategy.Listener.Adapterindex - A running index of the batch starting at 0.batch - The types included in this batch.throwable - The throwable that caused this invocation.types - All types included in the redefinition.Copyright © 2014–2016. All rights reserved.