@SimulationSupport public class BasicMonitorProvider extends ExecutionMonitorProvider
ExecutionMonitorProvider
.Modifier and Type | Field and Description |
---|---|
static String |
KEY_STEP_UNIT
The key name of step unit (optional).
|
Constructor and Description |
---|
BasicMonitorProvider() |
Modifier and Type | Method and Description |
---|---|
protected void |
doConfigure(ServiceProfile<?> profile)
Configures this service internally (extention point).
|
PhaseMonitor |
newInstance(ExecutionContext context)
Creates a new
PhaseMonitor . |
configure
public static final String KEY_STEP_UNIT
protected void doConfigure(ServiceProfile<?> profile) throws InterruptedException, IOException
ExecutionMonitorProvider
doConfigure
in class ExecutionMonitorProvider
profile
- profile of this serviceInterruptedException
- if interrupted this configurationIOException
- if failed to configurepublic PhaseMonitor newInstance(ExecutionContext context) throws InterruptedException, IOException
ExecutionMonitorProvider
PhaseMonitor
.newInstance
in class ExecutionMonitorProvider
context
- the current execution contextInterruptedException
- if the creation is interruptedIOException
- if failed to create a PhaseMonitor
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.