public List<EventBean> poll(Object[] lookupValues) { List<EventBean> result; try { result = execute(resources.getSecond(), lookupValues); } catch (EPException ex) { connectionCache.doneWith(resources); throw ex; } return result; }
public void done() { connectionCache.doneWith(resources); }
public void destroy() { connectionCache.destroy(); }
public void start() { resources = connectionCache.getConnection(); }