Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 47b42ecb0ba9fd9c7f82394600fa19f898b0ee23 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package org.eclipse.net4j.transport;

/**
 * @author Eike Stepper
 */
public interface BufferProvider
{
  public short getBufferCapacity();

  public Buffer provideBuffer();

  public void retainBuffer(Buffer buffer);

  /**
   * @author Eike Stepper
   */
  public interface Introspection
  {
    public long getProvidedBuffers();

    public long getRetainedBuffers();
  }
}

Back to the top