Serialized Form
-
Package EDU.oswego.cs.dl.util.concurrent
-
Exception Class EDU.oswego.cs.dl.util.concurrent.BrokenBarrierException
class 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
class ConcurrentHashMap extends AbstractMap implements Serializable-
Serialization Methods
-
readObject
Reconstitute the ConcurrentHashMap instance from a stream (i.e., deserialize it).- Throws:
IOException
ClassNotFoundException
-
writeObject
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
class 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
class ConcurrentReaderHashMap extends AbstractMap implements Serializable-
Serialization Methods
-
readObject
Reconstitute the ConcurrentReaderHashMap instance from a stream (i.e., deserialize it).- Throws:
IOException
ClassNotFoundException
-
writeObject
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
class BarrierLock extends Object implements Serializable -
Class EDU.oswego.cs.dl.util.concurrent.CopyOnWriteArrayList
class CopyOnWriteArrayList extends Object implements Serializable-
Serialization Methods
-
readObject
Reconstitute the list from a stream (i.e., deserialize it).- Throws:
IOException
ClassNotFoundException
-
writeObject
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
class CopyOnWriteArraySet extends AbstractSet implements Serializable-
Serialized Fields
-
al
CopyOnWriteArrayList al
-
-
-
Class EDU.oswego.cs.dl.util.concurrent.PropertyChangeMulticaster
class PropertyChangeMulticaster extends Object implements Serializable-
Serialization Methods
-
readObject
- Throws:
ClassNotFoundException
IOException
-
writeObject
- 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
-
-
Exception Class EDU.oswego.cs.dl.util.concurrent.TimeoutException
class 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
class VetoableChangeMulticaster extends Object implements Serializable-
Serialization Methods
-
readObject
- Throws:
ClassNotFoundException
IOException
-
writeObject
- 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
class Fraction extends Object implements Serializable-
Serialized Fields
-
denominator_
long denominator_
-
numerator_
long numerator_
-
-
-