| Sun Microsystems Inc. The Java Collections Framework, 2002. http://java.sun. com/j2se/1.4.2/docs/guide/collections/. |
....may still work if each method on the object internally acquires the lock anyway, thus implicitly meeting the requirements of the protocol, though this requires re entrant locks. If neither of these conditions is met then we cannot enforce the coordination constraint. The Java Collection classes [Sun98] enforce this protocol on their synchronised variants, but its correctness relies on none of the 106 methods having a state constraint if the lock were released waiting for the state constraint to be fulfilled then the sequence of actions would no longer be atomic. Other collection classes, ....
....drop an item because it s better to have more recent items made available) Familiarity with sequential programming often predisposes us to expect balking responses in many state constrained situations. For example, even though written to be concurrency safe , the collection libraries of Java [Sun98] and the Booch Components [Boo93] both return null for messages that cannot be accepted due to the state of the collection the classical sequential response. Conversely, developers of concurrent object oriented languages usually only provide blocking responses to state constraints out of ....
Sun Microsystems, "The Java Collections Framework", on-line API documentation, "http://java.sun.com/products/jdk/1.2/docs/guide/collections/", 1998
....a time out of zero and blocking indicating a time out of infinity. Our sequential heritage has predisposed us to expect, and provide, balking responses in many practical, state constrained situations. For example, even though written to be concurrency safe , the collection libraries of Java [Sun98] and the Booch Components [Boo93] both simply return null for messages that could not be accepted due to the state of the collection. Yet developers of concurrent object oriented languages provide only blocking responses to state constraints. On the other hand, we usually only expect a blocking ....
Sun Microsystems, "The Java Collections Framework", on-line API documentation, "http://java.sun.com/products/jdk/1.2/docs/guide/collections/", 1998
No context found.
Sun Microsystems Inc. The Java Collections Framework, 2002. http://java.sun. com/j2se/1.4.2/docs/guide/collections/.
No context found.
Sun Microsystems, "The Java Collections Framework", on-line API documentation, "http://java.sun.com/products/jdk/1.2/docs/guide/collections/", 1998
Online articles have much greater impact More about CiteSeer.IST Add search form to your site Submit documents Feedback
CiteSeer.IST - Copyright Penn State and NEC