Serialized Form
Package EDU.oswego.cs.dl.util.concurrent |
index
int index
- The index that barrier would have returned upon
normal return;
readObject
private void readObject(java.io.ObjectInputStream s)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Reconstitute the ConcurrentHashMap
instance from a stream (i.e.,
deserialize it).
writeObject
private void writeObject(java.io.ObjectOutputStream s)
throws java.io.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.
java.io.IOException
segments
ConcurrentHashMap.Segment[] segments
- The array of concurrency control segments.
loadFactor
float loadFactor
- The load factor for the hash table.
-
threshold
int threshold
- Per-segment resize threshold.
-
readObject
private void readObject(java.io.ObjectInputStream s)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Reconstitute the ConcurrentReaderHashMap
instance from a stream (i.e.,
deserialize it).
writeObject
private void writeObject(java.io.ObjectOutputStream s)
throws java.io.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.
java.io.IOException
barrierLock
ConcurrentReaderHashMap.BarrierLock barrierLock
- Lock used only for its memory effects.
threshold
int threshold
- The table is rehashed when its size exceeds this threshold. (The
value of this field is always (int)(capacity * loadFactor).)
-
loadFactor
float loadFactor
- The load factor for the hash table.
-
readObject
private void readObject(java.io.ObjectInputStream s)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Reconstitute the list from a stream (i.e., deserialize it).
writeObject
private void writeObject(java.io.ObjectOutputStream s)
throws java.io.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.
java.io.IOException
al
CopyOnWriteArrayList al
readObject
private void readObject(java.io.ObjectInputStream s)
throws java.lang.ClassNotFoundException,
java.io.IOException
writeObject
private void writeObject(java.io.ObjectOutputStream s)
throws java.io.IOException
- Serial Data:
- Null terminated list of
PropertyChangeListeners
.
At serialization time we skip non-serializable listeners and
only serialize the serializable listeners.
java.io.IOException
source
java.lang.Object source
- The object to be provided as the "source" for any generated events.
-
children
java.util.HashMap children
- HashMap for managing listeners for specific properties.
Maps property names to PropertyChangeMulticaster objects.
-
duration
long duration
- The approximate time that the operation lasted before
this timeout exception was thrown.
readObject
private void readObject(java.io.ObjectInputStream s)
throws java.lang.ClassNotFoundException,
java.io.IOException
writeObject
private void writeObject(java.io.ObjectOutputStream s)
throws java.io.IOException
- Serial Data:
- Null terminated list of
VetoableChangeListeners
.
At serialization time we skip non-serializable listeners and
only serialize the serializable listeners.
java.io.IOException
source
java.lang.Object source
- The object to be provided as the "source" for any generated events.
-
children
java.util.HashMap children
- HashMap for managing listeners for specific properties.
Maps property names to VetoableChangeMulticaster objects.
-
Package EDU.oswego.cs.dl.util.concurrent.misc |
numerator_
long numerator_
denominator_
long denominator_