1. /*
  2. * @(#)ByteBufferPool.java 1.4 03/12/19
  3. *
  4. * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package com.sun.corba.se.pept.transport;
  8. import java.nio.ByteBuffer;
  9. /**
  10. * @author Charlie Hunt
  11. */
  12. public interface ByteBufferPool
  13. {
  14. public ByteBuffer getByteBuffer(int theSize);
  15. public void releaseByteBuffer(ByteBuffer thebb);
  16. public int activeCount();
  17. }
  18. // End of file.