pool = new Pool<T>() { protected T create() { T member = null; try { member = ByteBufferStreamPool.this.create(memberClass); } catch (Exception e) { } return member; } };
return memberClass.newInstance();
member.passivate(); pool.recycle(member);
final T member = pool.take(); member.activate(); return member;