use of net.dempsy.container.altnonlocking.NonLockingAltContainer in project Dempsy by Dempsy.
the class TestOutputSchedulers method setUp.
/**
* Sets the up.
*
* @throws Exception the exception
*/
@Before
public void setUp() throws Exception {
outputInvoked.set(false);
concurrencySetTo.set(-1);
// initializing
container = new NonLockingAltContainer() {
@Override
public void invokeOutput() {
outputInvoked.set(true);
}
@Override
public void setOutputConcurrency(final int concurrency) {
concurrencySetTo.set(concurrency);
}
};
}
Aggregations