Serialized Form
-
Package EDU.oswego.cs.dl.util.concurrent
-
Class EDU.oswego.cs.dl.util.concurrent.BrokenBarrierException extends RuntimeException implements Serializable
-
Serialized Fields
-
index
int index
The index that barrier would have returned upon normal return;
-
-
-
Class EDU.oswego.cs.dl.util.concurrent.ConcurrentHashMap extends AbstractMap implements Serializable
-
Serialization Methods
-
readObject
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
Reconstitute the ConcurrentHashMap instance from a stream (i.e., deserialize it).- Throws:
IOException
ClassNotFoundException
-
writeObject
private void writeObject(ObjectOutputStream s) throws IOException
Save the state of the ConcurrentHashMap instance to a stream (i.e., serialize it).- Serial Data:
- An estimate of the table size, followed by the key (Object) and value (Object) for each key-value mapping, followed by a null pair. The key-value mappings are emitted in no particular order.
- Throws:
IOException
-
-
Serialized Fields
-
loadFactor
float loadFactor
The load factor for the hash table. -
segments
ConcurrentHashMap.Segment[] segments
The array of concurrency control segments. -
threshold
int threshold
Per-segment resize threshold.
-
-
-
Class EDU.oswego.cs.dl.util.concurrent.ConcurrentHashMap.Segment extends Object implements Serializable
-
Serialized Fields
-
count
int count
The number of elements in this segment's region. It is always updated within synchronized blocks.
-
-
-
Class EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap extends AbstractMap implements Serializable
-
Serialization Methods
-
readObject
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
Reconstitute the ConcurrentReaderHashMap instance from a stream (i.e., deserialize it).- Throws:
IOException
ClassNotFoundException
-
writeObject
private void writeObject(ObjectOutputStream s) throws IOException
Save the state of the ConcurrentReaderHashMap instance to a stream (i.e., serialize it).- Serial Data:
- The capacity of the ConcurrentReaderHashMap (the length of the bucket array) is emitted (int), followed by the size of the ConcurrentReaderHashMap (the number of key-value mappings), followed by the key (Object) and value (Object) for each key-value mapping represented by the ConcurrentReaderHashMap The key-value mappings are emitted in no particular order.
- Throws:
IOException
-
-
Serialized Fields
-
barrierLock
ConcurrentReaderHashMap.BarrierLock barrierLock
Lock used only for its memory effects. -
loadFactor
float loadFactor
The load factor for the hash table. -
threshold
int threshold
The table is rehashed when its size exceeds this threshold. (The value of this field is always (int)(capacity * loadFactor).)
-
-
-
Class EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap.BarrierLock extends Object implements Serializable
-
Class EDU.oswego.cs.dl.util.concurrent.CopyOnWriteArrayList extends Object implements Serializable
-
Serialization Methods
-
readObject
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
Reconstitute the list from a stream (i.e., deserialize it).- Throws:
IOException
ClassNotFoundException
-
writeObject
private void writeObject(ObjectOutputStream s) throws IOException
Save the state of the list to a stream (i.e., serialize it).- Serial Data:
- The length of the array backing the list is emitted (int), followed by all of its elements (each an Object) in the proper order.
- Throws:
IOException
-
-
-
Class EDU.oswego.cs.dl.util.concurrent.CopyOnWriteArraySet extends AbstractSet implements Serializable
-
Serialized Fields
-
al
CopyOnWriteArrayList al
-
-
-
Class EDU.oswego.cs.dl.util.concurrent.PropertyChangeMulticaster extends Object implements Serializable
-
Serialization Methods
-
readObject
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException
- Throws:
ClassNotFoundException
IOException
-
writeObject
private void writeObject(ObjectOutputStream s) throws IOException
- Serial Data:
- Null terminated list of
PropertyChangeListeners
.At serialization time we skip non-serializable listeners and only serialize the serializable listeners.
- Throws:
IOException
-
-
Serialized Fields
-
-
Class EDU.oswego.cs.dl.util.concurrent.TimeoutException extends InterruptedException implements Serializable
-
Serialized Fields
-
duration
long duration
The approximate time that the operation lasted before this timeout exception was thrown.
-
-
-
Class EDU.oswego.cs.dl.util.concurrent.VetoableChangeMulticaster extends Object implements Serializable
-
Serialization Methods
-
readObject
private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException
- Throws:
ClassNotFoundException
IOException
-
writeObject
private void writeObject(ObjectOutputStream s) throws IOException
- Serial Data:
- Null terminated list of
VetoableChangeListeners
.At serialization time we skip non-serializable listeners and only serialize the serializable listeners.
- Throws:
IOException
-
-
Serialized Fields
-
-
-
Package EDU.oswego.cs.dl.util.concurrent.misc
-
Class EDU.oswego.cs.dl.util.concurrent.misc.Fraction extends Object implements Serializable
-
Serialized Fields
-
denominator_
long denominator_
-
numerator_
long numerator_
-
-
-