Serialized Form
-
Package java.util.concurrent
-
Class java.util.concurrent.ArrayBlockingQueue
- serialVersionUID:
- -817911632652898426L
-
Serialization Methods
-
readObject
Reconstitutes this queue from a stream (that is, deserializes it).- Parameters:
s
- the stream- Throws:
ClassNotFoundException
- if the class of a serialized object could not be foundInvalidObjectException
- if invariants are violatedIOException
- if an I/O error occurs
-
-
Serialized Fields
-
count
int count
Number of elements in the queue -
items
Object[] items
The queued items -
lock
ReentrantLock lock
Main lock guarding all access -
notEmpty
Condition notEmpty
Condition for waiting takes -
notFull
Condition notFull
Condition for waiting puts -
putIndex
int putIndex
items index for next put, offer, or add -
takeIndex
int takeIndex
items index for next take, poll, peek or remove
-
-
Exception Class java.util.concurrent.BrokenBarrierException
class BrokenBarrierException extends Exception implements Serializable- serialVersionUID:
- 7117394618823254244L
-
Exception Class java.util.concurrent.CancellationException
class CancellationException extends IllegalStateException implements Serializable- serialVersionUID:
- -9202173006928992231L
-
Exception Class java.util.concurrent.CompletionException
class CompletionException extends RuntimeException implements Serializable- serialVersionUID:
- 7830266012832686185L
-
Class java.util.concurrent.ConcurrentHashMap
- serialVersionUID:
- 7249069246763182397L
-
Serialization Methods
-
readObject
Reconstitutes this map from a stream (that is, deserializes it).- Parameters:
s
- the stream- Throws:
ClassNotFoundException
- if the class of a serialized object could not be foundIOException
- if an I/O error occurs
-
writeObject
Saves this map to a stream (that is, serializes it).- Serial Data:
- the serialized fields, 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.
- Parameters:
s
- the stream- Throws:
IOException
- if an I/O error occurs
-
-
Serialization Overview
-
Serialized pseudo-fields, provided only for jdk7 compatibility.
-
-
Serialized Fields
-
segmentMask
int segmentMask
Mask value for indexing into segments. The upper bits of a key's hash code are used to choose the segment. -
segmentShift
int segmentShift
Shift value for indexing within segments. -
segments
java.util.concurrent.ConcurrentHashMap.Segment[] segments
The segments, each of which is a specialized hash table.
-
-
Class java.util.concurrent.ConcurrentHashMap.KeySetView
class KeySetView extends java.util.concurrent.ConcurrentHashMap.CollectionView<K,V, K> implements Serializable - serialVersionUID:
- 7249069246763182397L
-
Serialized Fields
-
value
V value
-
-
Class java.util.concurrent.ConcurrentLinkedDeque
- serialVersionUID:
- 876323262645176354L
-
Serialization Methods
-
readObject
Reconstitutes this deque from a stream (that is, deserializes it).- Parameters:
s
- the stream- Throws:
ClassNotFoundException
- if the class of a serialized object could not be foundIOException
- if an I/O error occurs
-
writeObject
Saves this deque to a stream (that is, serializes it).- Serial Data:
- All of the elements (each an
E
) in the proper order, followed by a null - Parameters:
s
- the stream- Throws:
IOException
- if an I/O error occurs
-
-
Class java.util.concurrent.ConcurrentLinkedQueue
- serialVersionUID:
- 196745693267521676L
-
Serialization Methods
-
readObject
Reconstitutes this queue from a stream (that is, deserializes it).- Parameters:
s
- the stream- Throws:
ClassNotFoundException
- if the class of a serialized object could not be foundIOException
- if an I/O error occurs
-
writeObject
Saves this queue to a stream (that is, serializes it).- Serial Data:
- All of the elements (each an
E
) in the proper order, followed by a null - Parameters:
s
- the stream- Throws:
IOException
- if an I/O error occurs
-
-
Class java.util.concurrent.ConcurrentSkipListMap
- serialVersionUID:
- -8627078645895051609L
-
Serialization Methods
-
readObject
Reconstitutes this map from a stream (that is, deserializes it).- Parameters:
s
- the stream- Throws:
ClassNotFoundException
- if the class of a serialized object could not be foundIOException
- if an I/O error occurs
-
writeObject
Saves this map to a stream (that is, serializes it).- Serial Data:
- The key (Object) and value (Object) for each
key-value mapping represented by the map, followed by
null
. The key-value mappings are emitted in key-order (as determined by the Comparator, or by the keys' natural ordering if no Comparator). - Parameters:
s
- the stream- Throws:
IOException
- if an I/O error occurs
-
-
Serialized Fields
-
comparator
Comparator<? super K> comparator
The comparator used to maintain order in this map, or null if using natural ordering. (Non-private to simplify access in nested classes.)
-
-
Class java.util.concurrent.ConcurrentSkipListMap.SubMap
- serialVersionUID:
- -7647078645895051609L
-
Serialized Fields
-
hi
K hi
upper bound key, or null if to end -
hiInclusive
boolean hiInclusive
inclusion flag for hi -
isDescending
boolean isDescending
direction -
lo
K lo
lower bound key, or null if from start -
loInclusive
boolean loInclusive
inclusion flag for lo -
m
ConcurrentSkipListMap<K,
V> m Underlying map
-
-
Class java.util.concurrent.ConcurrentSkipListSet
- serialVersionUID:
- -2479143111061671589L
-
Serialized Fields
-
m
ConcurrentNavigableMap<E,
Object> 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 java.util.concurrent.CopyOnWriteArrayList
class CopyOnWriteArrayList extends Object implements Serializable- serialVersionUID:
- 8673264195747942595L
-
Serialization Methods
-
readObject
Reconstitutes this list from a stream (that is, deserializes it).- Parameters:
s
- the stream- Throws:
ClassNotFoundException
- if the class of a serialized object could not be foundIOException
- if an I/O error occurs
-
writeObject
Saves this list to a stream (that is, serializes 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.
- Parameters:
s
- the stream- Throws:
IOException
- if an I/O error occurs
-
-
Class java.util.concurrent.CopyOnWriteArraySet
- serialVersionUID:
- 5457747651344034263L
-
Serialized Fields
-
al
CopyOnWriteArrayList<E> al
-
-
Class java.util.concurrent.CountedCompleter
- serialVersionUID:
- 5232453752276485070L
-
Serialized Fields
-
completer
CountedCompleter<?> completer
This task's completer, or null if none -
pending
int pending
The number of pending tasks until completion
-
-
Exception Class java.util.concurrent.ExecutionException
class ExecutionException extends Exception implements Serializable- serialVersionUID:
- 7830266012832686185L
-
Class java.util.concurrent.ForkJoinTask
class ForkJoinTask extends Object implements Serializable- serialVersionUID:
- -7721805057305804111L
-
Serialization Methods
-
readObject
Reconstitutes this task from a stream (that is, deserializes it).- Parameters:
s
- the stream- Throws:
ClassNotFoundException
- if the class of a serialized object could not be foundIOException
- if an I/O error occurs
-
writeObject
Saves this task to a stream (that is, serializes it).- Serial Data:
- the current run status and the exception thrown
during execution, or
null
if none - Parameters:
s
- the stream- Throws:
IOException
- if an I/O error occurs
-
-
Serialized Fields
-
status
int status
-
-
Class java.util.concurrent.LinkedBlockingDeque
- serialVersionUID:
- -387911632671998426L
-
Serialization Methods
-
readObject
Reconstitutes this deque from a stream (that is, deserializes it).- Parameters:
s
- the stream- Throws:
ClassNotFoundException
- if the class of a serialized object could not be foundIOException
- if an I/O error occurs
-
writeObject
Saves this deque to a stream (that is, serializes it).- Serial Data:
- The capacity (int), followed by elements (each an
Object
) in the proper order, followed by a null - Parameters:
s
- the stream- Throws:
IOException
- if an I/O error occurs
-
-
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 java.util.concurrent.LinkedBlockingQueue
- serialVersionUID:
- -6903933977591709194L
-
Serialization Methods
-
readObject
Reconstitutes this queue from a stream (that is, deserializes it).- Parameters:
s
- the stream- Throws:
ClassNotFoundException
- if the class of a serialized object could not be foundIOException
- if an I/O error occurs
-
writeObject
Saves this queue to a stream (that is, serializes it).- Serial Data:
- The capacity is emitted (int), followed by all of
its elements (each an
Object
) in the proper order, followed by a null - Parameters:
s
- the stream- Throws:
IOException
- if an I/O error occurs
-
-
Serialized Fields
-
capacity
int capacity
The capacity bound, or Integer.MAX_VALUE if none -
count
AtomicInteger count
Current number of elements -
notEmpty
Condition notEmpty
Wait queue for waiting takes -
notFull
Condition notFull
Wait queue for waiting puts -
putLock
ReentrantLock putLock
Lock held by put, offer, etc -
takeLock
ReentrantLock takeLock
Lock held by take, poll, etc
-
-
Class java.util.concurrent.LinkedTransferQueue
- serialVersionUID:
- -3223113410248163686L
-
Serialization Methods
-
readObject
Reconstitutes this queue from a stream (that is, deserializes it).- Parameters:
s
- the stream- Throws:
ClassNotFoundException
- if the class of a serialized object could not be foundIOException
- if an I/O error occurs
-
writeObject
Saves this queue to a stream (that is, serializes it).- Serial Data:
- All of the elements (each an
E
) in the proper order, followed by a null - Parameters:
s
- the stream- Throws:
IOException
- if an I/O error occurs
-
-
Class java.util.concurrent.PriorityBlockingQueue
- serialVersionUID:
- 5595510919245408276L
-
Serialization Methods
-
readObject
Reconstitutes this queue from a stream (that is, deserializes it).- Parameters:
s
- the stream- Throws:
ClassNotFoundException
- if the class of a serialized object could not be foundIOException
- if an I/O error occurs
-
writeObject
Saves this queue to a stream (that is, serializes it). For compatibility with previous version of this class, elements are first copied to a java.util.PriorityQueue, which is then serialized.- Parameters:
s
- the stream- Throws:
IOException
- if an I/O error occurs
-
-
Serialized Fields
-
lock
ReentrantLock lock
Lock used for all public operations. -
notEmpty
Condition notEmpty
Condition for blocking when empty. -
q
PriorityQueue<E> q
A plain PriorityQueue used only for serialization, to maintain compatibility with previous versions of this class. Non-null only during serialization/deserialization.
-
-
Class java.util.concurrent.RecursiveAction
- serialVersionUID:
- 5232453952276485070L
-
Class java.util.concurrent.RecursiveTask
- serialVersionUID:
- 5232453952276485270L
-
Serialized Fields
-
result
V result
The result of the computation.
-
-
Exception Class java.util.concurrent.RejectedExecutionException
class RejectedExecutionException extends RuntimeException implements Serializable- serialVersionUID:
- -375805702767069545L
-
Class java.util.concurrent.Semaphore
class Semaphore extends Object implements Serializable- serialVersionUID:
- -3222578661600680210L
-
Serialized Fields
-
sync
java.util.concurrent.Semaphore.Sync sync
All mechanics via AbstractQueuedSynchronizer subclass
-
-
Class java.util.concurrent.SynchronousQueue
- serialVersionUID:
- -3223113410248163686L
-
Serialization Methods
-
readObject
Reconstitutes this queue from a stream (that is, deserializes it).- Parameters:
s
- the stream- Throws:
ClassNotFoundException
- if the class of a serialized object could not be foundIOException
- if an I/O error occurs
-
writeObject
Saves this queue to a stream (that is, serializes it).- Parameters:
s
- the stream- Throws:
IOException
- if an I/O error occurs
-
-
Serialized Fields
-
qlock
ReentrantLock qlock
-
waitingConsumers
java.util.concurrent.SynchronousQueue.WaitQueue waitingConsumers
-
waitingProducers
java.util.concurrent.SynchronousQueue.WaitQueue waitingProducers
-
-
Class java.util.concurrent.ThreadLocalRandom
class ThreadLocalRandom extends Random implements Serializable- serialVersionUID:
- -5851777807851030925L
-
Serialization Methods
-
readResolve
Returns thecurrent
thread'sThreadLocalRandom
. -
writeObject
Saves theThreadLocalRandom
to a stream (that is, serializes it).- Parameters:
s
- the stream- Throws:
IOException
- if an I/O error occurs
-
-
Serialized Fields
-
initialized
boolean initialized
always true -
rnd
long rnd
seed for random computations
-
-
Exception Class java.util.concurrent.TimeoutException
class TimeoutException extends Exception implements Serializable- serialVersionUID:
- 1900926677490660714L
-
-
Package java.util.concurrent.atomic
-
Class java.util.concurrent.atomic.AtomicBoolean
class AtomicBoolean extends Object implements Serializable- serialVersionUID:
- 4654671469794556979L
-
Serialized Fields
-
value
int value
-
-
Class java.util.concurrent.atomic.AtomicInteger
class AtomicInteger extends Number implements Serializable- serialVersionUID:
- 6214790243416807050L
-
Serialized Fields
-
value
int value
-
-
Class java.util.concurrent.atomic.AtomicIntegerArray
class AtomicIntegerArray extends Object implements Serializable- serialVersionUID:
- 2862133569453604235L
-
Serialized Fields
-
array
int[] array
-
-
Class java.util.concurrent.atomic.AtomicLong
class AtomicLong extends Number implements Serializable- serialVersionUID:
- 1927816293512124184L
-
Serialized Fields
-
value
long value
-
-
Class java.util.concurrent.atomic.AtomicLongArray
class AtomicLongArray extends Object implements Serializable- serialVersionUID:
- -2308431214976778248L
-
Serialized Fields
-
array
long[] array
-
-
Class java.util.concurrent.atomic.AtomicReference
class AtomicReference extends Object implements Serializable- serialVersionUID:
- -1848883965231344442L
-
Serialized Fields
-
value
V value
-
-
Class java.util.concurrent.atomic.AtomicReferenceArray
class AtomicReferenceArray extends Object implements Serializable- serialVersionUID:
- -6209656149925076980L
-
Serialization Methods
-
readObject
Reconstitutes the instance from a stream (that is, deserializes it).- Parameters:
s
- the stream- Throws:
ClassNotFoundException
- if the class of a serialized object could not be foundIOException
- if an I/O error occurs
-
-
Serialized Fields
-
array
Object[] array
-
-
Class java.util.concurrent.atomic.DoubleAccumulator
class DoubleAccumulator extends java.util.concurrent.atomic.Striped64 implements Serializable- serialVersionUID:
- 7249069246863182397L
-
Serialization Methods
-
readObject
- Parameters:
s
- the stream- Throws:
InvalidObjectException
- always
-
writeReplace
Returns a SerializationProxy representing the state of this instance.
-
-
Serialized Fields
-
function
DoubleBinaryOperator function
-
identity
long identity
-
-
Class java.util.concurrent.atomic.DoubleAccumulator.SerializationProxy
class SerializationProxy extends Object implements Serializable- serialVersionUID:
- 7249069246863182397L
-
Serialization Methods
-
readResolve
Returns aDoubleAccumulator
object with initial state held by this proxy.
-
-
Serialized Fields
-
function
DoubleBinaryOperator function
The function used for updates. -
identity
long identity
The identity value, represented as a long, as converted byDouble.doubleToRawLongBits(double)
. The original identity can be recovered usingDouble.longBitsToDouble(long)
. -
value
double value
The current value returned by get().
-
-
Class java.util.concurrent.atomic.DoubleAdder
class DoubleAdder extends java.util.concurrent.atomic.Striped64 implements Serializable- serialVersionUID:
- 7249069246863182397L
-
Serialization Methods
-
readObject
- Parameters:
s
- the stream- Throws:
InvalidObjectException
- always
-
writeReplace
Returns a SerializationProxy representing the state of this instance.
-
-
Class java.util.concurrent.atomic.DoubleAdder.SerializationProxy
class SerializationProxy extends Object implements Serializable- serialVersionUID:
- 7249069246863182397L
-
Serialization Methods
-
readResolve
Returns aDoubleAdder
object with initial state held by this proxy.
-
-
Serialized Fields
-
value
double value
The current value returned by sum().
-
-
Class java.util.concurrent.atomic.LongAccumulator
class LongAccumulator extends java.util.concurrent.atomic.Striped64 implements Serializable- serialVersionUID:
- 7249069246863182397L
-
Serialization Methods
-
readObject
- Parameters:
s
- the stream- Throws:
InvalidObjectException
- always
-
writeReplace
Returns a SerializationProxy representing the state of this instance.
-
-
Serialized Fields
-
function
LongBinaryOperator function
-
identity
long identity
-
-
Class java.util.concurrent.atomic.LongAccumulator.SerializationProxy
class SerializationProxy extends Object implements Serializable- serialVersionUID:
- 7249069246863182397L
-
Serialization Methods
-
readResolve
Returns aLongAccumulator
object with initial state held by this proxy.
-
-
Serialized Fields
-
function
LongBinaryOperator function
The function used for updates. -
identity
long identity
The identity value. -
value
long value
The current value returned by get().
-
-
Class java.util.concurrent.atomic.LongAdder
class LongAdder extends java.util.concurrent.atomic.Striped64 implements Serializable- serialVersionUID:
- 7249069246863182397L
-
Serialization Methods
-
readObject
- Parameters:
s
- the stream- Throws:
InvalidObjectException
- always
-
writeReplace
Returns a SerializationProxy representing the state of this instance.
-
-
Class java.util.concurrent.atomic.LongAdder.SerializationProxy
class SerializationProxy extends Object implements Serializable- serialVersionUID:
- 7249069246863182397L
-
Serialization Methods
-
readResolve
Returns aLongAdder
object with initial state held by this proxy.
-
-
Serialized Fields
-
value
long value
The current value returned by sum().
-
-
-
Package java.util.concurrent.locks
-
Class java.util.concurrent.locks.AbstractOwnableSynchronizer
class AbstractOwnableSynchronizer extends Object implements Serializable- serialVersionUID:
- 3737899427754241961L
-
Class java.util.concurrent.locks.AbstractQueuedLongSynchronizer
class AbstractQueuedLongSynchronizer extends AbstractOwnableSynchronizer implements Serializable- serialVersionUID:
- 7373984972572414692L
-
Serialized Fields
-
state
long state
The synchronization state.
-
-
Class java.util.concurrent.locks.AbstractQueuedLongSynchronizer.ConditionObject
class ConditionObject extends Object implements Serializable- serialVersionUID:
- 1173984872572414699L
-
Class java.util.concurrent.locks.AbstractQueuedSynchronizer
class AbstractQueuedSynchronizer extends AbstractOwnableSynchronizer implements Serializable- serialVersionUID:
- 7373984972572414691L
-
Serialized Fields
-
state
int state
The synchronization state.
-
-
Class java.util.concurrent.locks.AbstractQueuedSynchronizer.ConditionObject
class ConditionObject extends Object implements Serializable- serialVersionUID:
- 1173984872572414699L
-
Class java.util.concurrent.locks.ReentrantLock
class ReentrantLock extends Object implements Serializable- serialVersionUID:
- 7373984872572414699L
-
Serialized Fields
-
sync
java.util.concurrent.locks.ReentrantLock.Sync sync
Synchronizer providing all implementation mechanics
-
-
Class java.util.concurrent.locks.ReentrantReadWriteLock
class ReentrantReadWriteLock extends Object implements Serializable- serialVersionUID:
- -6992448646407690164L
-
Serialized Fields
-
readerLock
ReentrantReadWriteLock.ReadLock readerLock
Inner class providing readlock -
sync
java.util.concurrent.locks.ReentrantReadWriteLock.Sync sync
Performs all synchronization mechanics -
writerLock
ReentrantReadWriteLock.WriteLock writerLock
Inner class providing writelock
-
-
Class java.util.concurrent.locks.ReentrantReadWriteLock.ReadLock
class ReadLock extends Object implements Serializable- serialVersionUID:
- -5992448646407690164L
-
Serialized Fields
-
Class java.util.concurrent.locks.ReentrantReadWriteLock.WriteLock
class WriteLock extends Object implements Serializable- serialVersionUID:
- -4992448646407690164L
-
Serialized Fields
-
Class java.util.concurrent.locks.StampedLock
class StampedLock extends Object implements Serializable- serialVersionUID:
- -6001602636862214147L
-
Serialization Methods
-
readObject
- Throws:
IOException
ClassNotFoundException
-
-