@Test public void closeAndRelease() { ObjectContainer container1 = toTest.acquire(); container1.store(new AStoredObject()); toTest.closeAndRelease(container1); assertEquals(2,this.server.openClient().query(AStoredObject.class).size()); }
public void closeAndRelease(ObjectContainer session){ session.close(); release(session); }
ConnectionPool { public void closeAndRelease(ObjectContainer session){ session.close(); release(session); } }
ConnectionPool { public void closeAndRelease(ObjectContainer session){ session.close(); release(session); } ConnectionPool(ClientConnectionFactory connectionFactory); }
ConnectionPool { public void closeAndRelease(ObjectContainer session){ session.close(); release(session); } ConnectionPool(ClientConnectionFactory connectionFactory); ObjectContainer acquire(); void release(ObjectContainer session); void closeAndRelease(ObjectContainer session); }
ConnectionPool { public void closeAndRelease(ObjectContainer session){ session.close(); release(session); } ConnectionPool(ClientConnectionFactory connectionFactory); ObjectContainer acquire(); void release(ObjectContainer session); void closeAndRelease(ObjectContainer session);  }