Serialized Form


Package EDU.oswego.cs.dl.util.concurrent

Class EDU.oswego.cs.dl.util.concurrent.BrokenBarrierException extends java.lang.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 java.util.AbstractMap implements Serializable

Serialization Methods

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).

Throws:
java.io.IOException
java.lang.ClassNotFoundException

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.
Throws:
java.io.IOException
Serialized Fields

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.

 

Class EDU.oswego.cs.dl.util.concurrent.ConcurrentHashMap.Segment extends java.lang.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 java.util.AbstractMap implements Serializable

Serialization Methods

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).

Throws:
java.io.IOException
java.lang.ClassNotFoundException

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.
Throws:
java.io.IOException
Serialized Fields

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.

 

Class EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap.BarrierLock extends java.lang.Object implements Serializable

Class EDU.oswego.cs.dl.util.concurrent.CopyOnWriteArrayList extends java.lang.Object implements Serializable

Serialization Methods

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).

Throws:
java.io.IOException
java.lang.ClassNotFoundException

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.
Throws:
java.io.IOException

Class EDU.oswego.cs.dl.util.concurrent.CopyOnWriteArraySet extends java.util.AbstractSet implements Serializable

Serialized Fields

al

CopyOnWriteArrayList al

Class EDU.oswego.cs.dl.util.concurrent.PropertyChangeMulticaster extends java.lang.Object implements Serializable

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream s)
                 throws java.lang.ClassNotFoundException,
                        java.io.IOException
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.

Throws:
java.io.IOException
Serialized Fields

source

java.lang.Object source
The object to be provided as the "source" for any generated events.

 

children

java.util.HashMap<K,V> children
HashMap for managing listeners for specific properties. Maps property names to PropertyChangeMulticaster objects.

 

Class EDU.oswego.cs.dl.util.concurrent.TimeoutException extends java.lang.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 java.lang.Object implements Serializable

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream s)
                 throws java.lang.ClassNotFoundException,
                        java.io.IOException
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.

Throws:
java.io.IOException
Serialized Fields

source

java.lang.Object source
The object to be provided as the "source" for any generated events.

 

children

java.util.HashMap<K,V> children
HashMap for managing listeners for specific properties. Maps property names to VetoableChangeMulticaster objects.