String code
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
ClassNotFoundException - if the class of a serialized object
could not be foundIOException - if an I/O error occursprivate void writeObject(ObjectOutputStream s) throws IOException
Object) in the proper order,
followed by a nullIOException - if an I/O error occursint capacity
AtomicInteger count
ReentrantLock takeLock
Condition notEmpty
ReentrantLock putLock
Condition notFull
Copyright © 2021 hellothomas. All rights reserved.