private Data(final Pool<Instance> pool, final Duration accessTimeout, final Duration closeTimeout) {
this.pool = pool;
this.accessTimeout = accessTimeout;
this.closeTimeout = closeTimeout;
this.sessionContext = new StatelessContext(securityService, new Flushable() {
@Override
public void flush() throws IOException {
getPool().flush();
}
});