use of io.aeron.exceptions.ConcurrentConcludeException in project Aeron by real-logic.
the class CommonContext method conclude.
/**
* This completes initialization of the CommonContext object. It is automatically called by subclasses.
*
* @return this Object for method chaining.
*/
public CommonContext conclude() {
if (0 != IS_CONCLUDED_UPDATER.getAndSet(this, 1)) {
throw new ConcurrentConcludeException();
}
concludeAeronDirectory();
cncFile = new File(aeronDirectory, CncFileDescriptor.CNC_FILE);
return this;
}
use of io.aeron.exceptions.ConcurrentConcludeException in project aeron by real-logic.
the class CommonContext method conclude.
/**
* This completes initialization of the CommonContext object. It is automatically called by subclasses.
*
* @return this Object for method chaining.
*/
public CommonContext conclude() {
if (0 != IS_CONCLUDED_UPDATER.getAndSet(this, 1)) {
throw new ConcurrentConcludeException();
}
concludeAeronDirectory();
cncFile = new File(aeronDirectory, CncFileDescriptor.CNC_FILE);
return this;
}
Aggregations