public class SimpleInvocationHandler extends Object implements InvocationHandler
InvocationHandler with no support for InvocationHandlerExtension.| Constructor and Description |
|---|
SimpleInvocationHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterInvoke(long startTimeNanos,
Invocation invocation,
Method method) |
protected void |
beforeInvoke(Invocation invocation,
Method method) |
protected Task<Object> |
doInvoke(Stage runtime,
Invocation invocation,
LocalObjects.LocalObjectEntry entry,
LocalObjects.LocalObjectEntry target,
Method method,
Boolean reentrant,
ObjectInvoker invoker) |
Task<Object> |
invoke(Stage runtime,
Invocation invocation,
LocalObjects.LocalObjectEntry entry,
LocalObjects.LocalObjectEntry target,
ObjectInvoker invoker) |
void |
setPerformanceLoggingEnabled(boolean performanceLoggingEnabled) |
void |
setSlowInvokeThresholdMs(double slowInvokeThresholdMs) |
void |
setSlowTaskThresholdMs(double slowTaskThresholdMs) |
protected void |
taskComplete(long startTimeNanos,
Invocation invocation,
Method method) |
public Task<Object> invoke(Stage runtime, Invocation invocation, LocalObjects.LocalObjectEntry entry, LocalObjects.LocalObjectEntry target, ObjectInvoker invoker)
invoke in interface InvocationHandlerprotected Task<Object> doInvoke(Stage runtime, Invocation invocation, LocalObjects.LocalObjectEntry entry, LocalObjects.LocalObjectEntry target, Method method, Boolean reentrant, ObjectInvoker invoker)
protected void beforeInvoke(Invocation invocation, @Nullable Method method)
protected void afterInvoke(long startTimeNanos,
Invocation invocation,
@Nullable
Method method)
protected void taskComplete(long startTimeNanos,
Invocation invocation,
@Nullable
Method method)
public void setPerformanceLoggingEnabled(boolean performanceLoggingEnabled)
public void setSlowInvokeThresholdMs(double slowInvokeThresholdMs)
public void setSlowTaskThresholdMs(double slowTaskThresholdMs)
Copyright © 2019 Electronic Arts Inc. All rights reserved.