Class MarshallerPool

java.lang.Object
org.jgroups.util.MarshallerPool

@Deprecated public class MarshallerPool extends Object
Deprecated.
Provides a pool of output streams so we can do lock striping and have faster marshalling this way.
Author:
Bela Ban
  • Constructor Details

    • MarshallerPool

      public MarshallerPool(int pool_size, int initial_size)
      Deprecated.
  • Method Details

    • getOutputStream

      Deprecated.
      Returns a random output stream. To use it, the lock needs to be acquired. When done, it also needs to be released again.
      Returns:
    • getCapacities

      public int[] getCapacities()
      Deprecated.
    • close

      public void close()
      Deprecated.
      Closes all output streams. This releases the memory held by them