public abstract class AbstractPolygeneMetricsTest extends AbstractPolygeneBaseTest
Modifier and Type | Class and Description |
---|---|
static interface |
AbstractPolygeneMetricsTest.Commands |
static class |
AbstractPolygeneMetricsTest.CommandsMixin |
protected static class |
AbstractPolygeneMetricsTest.JmxMetricTestAdapter |
static interface |
AbstractPolygeneMetricsTest.Person |
static interface |
AbstractPolygeneMetricsTest.PersonList |
static interface |
AbstractPolygeneMetricsTest.Queries |
static class |
AbstractPolygeneMetricsTest.QueriesMixin |
Modifier and Type | Field and Description |
---|---|
protected static String |
ALL_NAME |
protected static String |
CREATE_NAME |
protected static String |
DELETE_NAME |
protected static String |
RENAME_NAME |
protected static String |
UOW_TIMER_NAME |
api, application, applicationModel, notYetImplementedRule, polygene, spi
Constructor and Description |
---|
AbstractPolygeneMetricsTest() |
Modifier and Type | Method and Description |
---|---|
protected void |
assertTimingCapture(MetricValuesProvider metrics) |
protected void |
assertUowTimer(MetricValuesProvider metrics) |
protected void |
defineApplication(ApplicationAssembly app)
Called by the superclass for the test to define the entire application, every layer, every module and all
the contents of each module.
|
protected Assemblers.Visible<? extends Assembler> |
entityStoreAssembler(ModuleAssembly configModule,
Visibility configVisibility) |
protected abstract Assemblers.Visible<? extends Assembler> |
metricsAssembler() |
protected Module |
metricsModule() |
protected void |
runScenario1() |
void |
timingCaptureJmx() |
void |
uowTimerJmx() |
assemblyException, initApplication, newApplicationInstance, newApplicationModel, setUp, tearDown
protected static final String UOW_TIMER_NAME
protected static final String ALL_NAME
protected static final String CREATE_NAME
protected static final String RENAME_NAME
protected static final String DELETE_NAME
protected final void defineApplication(ApplicationAssembly app)
AbstractPolygeneBaseTest
defineApplication
in class AbstractPolygeneBaseTest
app
- the ApplicationAssembly
to be populated.protected Assemblers.Visible<? extends Assembler> entityStoreAssembler(ModuleAssembly configModule, Visibility configVisibility) throws AssemblyException
AssemblyException
protected abstract Assemblers.Visible<? extends Assembler> metricsAssembler()
protected Module metricsModule()
protected final void assertUowTimer(MetricValuesProvider metrics) throws PassivationException, ActivationException
protected final void assertTimingCapture(MetricValuesProvider metrics) throws PassivationException, ActivationException
protected final void runScenario1()
public void uowTimerJmx() throws PassivationException, ActivationException
public void timingCaptureJmx() throws PassivationException, ActivationException