Serialized Form

Package edu.emory.mathcs.backport.java.util

Class edu.emory.mathcs.backport.java.util.PriorityQueue extends AbstractQueue implements Serializable

serialVersionUID: -7720805057305804111L

Serialization Methods

writeObject

private void writeObject(java.io.ObjectOutputStream os)
            throws java.io.IOException

readObject

private void readObject(java.io.ObjectInputStream is)
            throws java.io.IOException,
                   ClassNotFoundException

Serialized Fields

size

 int size

comparator

 Comparator comparator

Class edu.emory.mathcs.backport.java.util.TreeMap.Entry extends java.lang.Object implements Serializable

Serialized Fields

key

 Object key

element

 Object element

color

 boolean color
The node color (RED, BLACK)

left

 TreeMap.Entry left
Pointer to left child

right

 TreeMap.Entry right
Pointer to right child

parent

 TreeMap.Entry parent
Pointer to parent (null if root)

Package edu.emory.mathcs.backport.java.util.concurrent

Class edu.emory.mathcs.backport.java.util.concurrent.ArrayBlockingQueue extends AbstractQueue implements Serializable

serialVersionUID: -817911632652898426L

Serialized Fields

items

 Object[] items
The queued items

count

 int count
Number of items in the queue

lock

 ReentrantLock lock
Main lock guarding all access

notEmpty

 Condition notEmpty
Condition for waiting takes

notFull

 Condition notFull
Condition for waiting puts

Class edu.emory.mathcs.backport.java.util.concurrent.ConcurrentLinkedQueue extends AbstractQueue implements Serializable

serialVersionUID: 196745693267521676L

Serialization Methods

writeObject

private void writeObject(java.io.ObjectOutputStream s)
            throws java.io.IOException
Save the state to a stream (that is, serialize it).
Parameters:
s - the stream

readObject

private void readObject(java.io.ObjectInputStream s)
            throws java.io.IOException,
                   ClassNotFoundException
Reconstitute the Queue instance from a stream (that is, deserialize it).
Parameters:
s - the stream

Serialized Fields

headLock

 Object headLock

tailLock

 Object tailLock

Class edu.emory.mathcs.backport.java.util.concurrent.ConcurrentSkipListMap extends AbstractMap implements Serializable

serialVersionUID: -8627078645895051609L

Serialization Methods

writeObject

private void writeObject(java.io.ObjectOutputStream s)
            throws java.io.IOException
Save the state of this map to a stream.

readObject

private void readObject(java.io.ObjectInputStream s)
            throws java.io.IOException,
                   ClassNotFoundException
Reconstitute the map from a stream.

Serialized Fields

comparator

 Comparator comparator
The comparator used to maintain order in this map, or null if using natural ordering.

Class edu.emory.mathcs.backport.java.util.concurrent.ConcurrentSkipListSet extends AbstractSet implements Serializable

serialVersionUID: -2479143111061671589L

Serialized Fields

m

 ConcurrentNavigableMap m
The underlying map. Uses Boolean.TRUE as value for each element. This field is declared final for the sake of thread safety, which entails some ugliness in clone()

Class edu.emory.mathcs.backport.java.util.concurrent.CopyOnWriteArraySet extends AbstractSet implements Serializable

serialVersionUID: 5457747651344034263L

Serialized Fields

al

 CopyOnWriteArrayList al

Class edu.emory.mathcs.backport.java.util.concurrent.LinkedBlockingDeque extends AbstractQueue implements Serializable

serialVersionUID: -387911632671998426L

Serialization Methods

writeObject

private void writeObject(java.io.ObjectOutputStream s)
            throws java.io.IOException
Save the state of this deque to a stream (that is, serialize it).
Parameters:
s - the stream

readObject

private void readObject(java.io.ObjectInputStream s)
            throws java.io.IOException,
                   ClassNotFoundException
Reconstitute this deque from a stream (that is, deserialize it).
Parameters:
s - the stream

Serialized Fields

capacity

 int capacity
Maximum number of items in the deque

lock

 ReentrantLock lock
Main lock guarding all access

notEmpty

 Condition notEmpty
Condition for waiting takes

notFull

 Condition notFull
Condition for waiting puts

Class edu.emory.mathcs.backport.java.util.concurrent.LinkedBlockingQueue extends AbstractQueue implements Serializable

serialVersionUID: -6903933977591709194L

Serialization Methods

writeObject

private void writeObject(java.io.ObjectOutputStream s)
            throws java.io.IOException
Save the state to a stream (that is, serialize it).
Parameters:
s - the stream

readObject

private void readObject(java.io.ObjectInputStream s)
            throws java.io.IOException,
                   ClassNotFoundException
Reconstitute this queue instance from a stream (that is, deserialize it).
Parameters:
s - the stream

Serialized Fields

capacity

 int capacity
The capacity bound, or Integer.MAX_VALUE if none

count

 int count
Current number of elements

takeLock

 Object takeLock
Lock held by take, poll, etc

putLock

 Object putLock
Lock held by put, offer, etc

Class edu.emory.mathcs.backport.java.util.concurrent.PriorityBlockingQueue extends AbstractQueue implements Serializable

serialVersionUID: 5595510919245408276L

Serialization Methods

writeObject

private void writeObject(java.io.ObjectOutputStream s)
            throws java.io.IOException
Saves the state to a stream (that is, serializes it). This merely wraps default serialization within lock. The serialization strategy for items is left to underlying Queue. Note that locking is not needed on deserialization, so readObject is not defined, just relying on default.

Serialized Fields

q

 PriorityQueue q

lock

 ReentrantLock lock

notEmpty

 Condition notEmpty

Class edu.emory.mathcs.backport.java.util.concurrent.Semaphore extends java.lang.Object implements Serializable

serialVersionUID: -3222578661600680210L

Serialized Fields

sync

 edu.emory.mathcs.backport.java.util.concurrent.Semaphore.Sync sync

Class edu.emory.mathcs.backport.java.util.concurrent.SynchronousQueue extends AbstractQueue implements Serializable

serialVersionUID: -3223113410248163686L

Serialized Fields

qlock

 ReentrantLock qlock
Lock protecting both wait queues

waitingProducers

 edu.emory.mathcs.backport.java.util.concurrent.SynchronousQueue.WaitQueue waitingProducers
Queue holding waiting puts

waitingConsumers

 edu.emory.mathcs.backport.java.util.concurrent.SynchronousQueue.WaitQueue waitingConsumers
Queue holding waiting takes

Class edu.emory.mathcs.backport.java.util.concurrent.TimeUnit extends java.lang.Object implements Serializable

Serialized Fields

index

 int index
The index of this unit. This value is no longer used in this version of this class, but is retained for serialization compatibility with previous version.

name

 String name
name of this unit

Package edu.emory.mathcs.backport.java.util.concurrent.atomic

Class edu.emory.mathcs.backport.java.util.concurrent.atomic.AtomicBoolean extends java.lang.Object implements Serializable

serialVersionUID: 4654671469794556979L

Serialized Fields

value

 int value

Class edu.emory.mathcs.backport.java.util.concurrent.atomic.AtomicInteger extends Number implements Serializable

serialVersionUID: 6214790243416807050L

Serialized Fields

value

 int value

Class edu.emory.mathcs.backport.java.util.concurrent.atomic.AtomicIntegerArray extends java.lang.Object implements Serializable

serialVersionUID: 2862133569453604235L

Serialized Fields

array

 int[] array

Class edu.emory.mathcs.backport.java.util.concurrent.atomic.AtomicLong extends Number implements Serializable

serialVersionUID: 1927816293512124184L

Serialized Fields

value

 long value

Class edu.emory.mathcs.backport.java.util.concurrent.atomic.AtomicLongArray extends java.lang.Object implements Serializable

serialVersionUID: -2308431214976778248L

Serialized Fields

array

 long[] array

Class edu.emory.mathcs.backport.java.util.concurrent.atomic.AtomicReference extends java.lang.Object implements Serializable

serialVersionUID: -1848883965231344442L

Serialized Fields

value

 Object value

Class edu.emory.mathcs.backport.java.util.concurrent.atomic.AtomicReferenceArray extends java.lang.Object implements Serializable

serialVersionUID: -6209656149925076980L

Serialized Fields

array

 Object[] array

Package edu.emory.mathcs.backport.java.util.concurrent.helpers

Class edu.emory.mathcs.backport.java.util.concurrent.helpers.FIFOWaitQueue extends WaitQueue implements Serializable

serialVersionUID: 2416444691925378811L

Package edu.emory.mathcs.backport.java.util.concurrent.locks

Class edu.emory.mathcs.backport.java.util.concurrent.locks.ReentrantLock extends java.lang.Object implements Serializable

serialVersionUID: 7373984872572414699L

Serialized Fields

sync

 edu.emory.mathcs.backport.java.util.concurrent.locks.ReentrantLock.Sync sync

Class edu.emory.mathcs.backport.java.util.concurrent.locks.ReentrantReadWriteLock extends java.lang.Object implements Serializable

serialVersionUID: -3463448656717690166L

Serialized Fields

readerLock_

 ReentrantReadWriteLock.ReadLock readerLock_

writerLock_

 ReentrantReadWriteLock.WriteLock writerLock_

sync

 edu.emory.mathcs.backport.java.util.concurrent.locks.ReentrantReadWriteLock.Sync sync

Class edu.emory.mathcs.backport.java.util.concurrent.locks.ReentrantReadWriteLock.ReadLock extends java.lang.Object implements Serializable

serialVersionUID: -5992448646407690164L

Serialized Fields

lock

 ReentrantReadWriteLock lock

Class edu.emory.mathcs.backport.java.util.concurrent.locks.ReentrantReadWriteLock.WriteLock extends java.lang.Object implements Serializable

serialVersionUID: -4992448646407690164L

Serialized Fields

lock

 ReentrantReadWriteLock lock