Package org.jgroups.util
Class MarshallerPool
java.lang.Object
org.jgroups.util.MarshallerPool
Deprecated.
Provides a pool of output streams so we can do lock striping and have faster marshalling this way.
- Author:
- Bela Ban
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Deprecated.Closes all output streams.int[]Deprecated.Deprecated.Returns a random output stream.
-
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
-