KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > lang > InterruptedException > Top Examples

    Tests phantom prevention (range locking) added in SR [#10477]. <p>We test that with a serializable txn, range locking will prevent phantoms from appearing. We also test that phantoms *do* appear for non-serializable isolation levels. These include read-uncommitted, read-committed and repe ...
  • edu.oswego.cs.dl.util.concurrent.misc.SynchronizationTimer
    This program records times for various fine-grained synchronization schemes, and provides some ways of measuring them over different context parameters. <p> Quick start: <ol> <li>javac -d <em>base of some CLASSPATH</em> *.java <br> You'll need Swing (JFC). (Th ...
  • org.objectweb.cjdbc.controller.loadbalancer.raidb2.RAIDb2
    RAIDb-2 load balancer. <p> This class is an abstract call because the read requests coming from the Request Manager are NOT treated here but in the subclasses. Transaction management and write requests are broadcasted to all backends owning the written table. @author <a HREF="mailto:Emma ...
  • org.apache.commons.transaction.locking.GenericLockTest
    Tests for generic locks. @version $Revision$
  • org.objectweb.cjdbc.scenario.standalone.util.ReadPrioritaryFIFOWriteLockTest
    Reader/Writer Lock test class. @author <a HREF="">Emmanuel Cecchet </a> @version 1.0
  • org.jboss.cache.tests.lock.ReentrantWriterPreferenceReadWriteLockTest
    Tests ReentrantWriterPreferenceReadWriteLock @author Bela Ban @version $Id:,v 1.2 2005/04/06 18:52:29 belaban Exp $
  • org.jboss.cache.tests.ReentrantWriterPreferenceReadWriteLockTest
    Tests ReentrantWriterPreferenceReadWriteLock @author Bela Ban @version $Id:,v 2005/04/06 21:07:04 starksm Exp $
  • org.jgroups.util.Queue2
    Elements are added at the tail and removed from the head. Class is thread-safe in that 1 producer and 1 consumer may add/remove elements concurrently. The class is not explicitely designed for multiple producers or consumers. Implemented as a linked list, so that removal of an element at the head ...
  • org.jboss.cache.tests.lock.IdentityLockTest
    Testing of different locking semantics. @author Bela Ban @author Ben Wang @version $Revision: 1.2 $
    This wizard helps the user to import a new project in their workspace into a CVS repository for the first time.
  • edu.oswego.cs.dl.util.concurrent.BoundedLinkedQueue
    A bounded variant of LinkedQueue class. This class may be preferable to BoundedBuffer because it allows a bit more concurency among puts and takes, because it does not pre-allocate fixed storage for elements, and allows capacity to be dynamically reset. On the other hand, since it allocates a nod ...
  • org.objectweb.cjdbc.controller.scheduler.AbstractScheduler
    The Request Scheduler should schedule the request according to a given policy. <p> The requests comes from the Request Controller and are sent later to the next ccontroller omponents (cache and load balancer). @author <a HREF="">Emmanuel Cecchet </a& ...
  • edu.oswego.cs.dl.util.concurrent.LinkedQueue
    A linked list based channel implementation. The algorithm avoids contention between puts and takes when the queue is not empty. Normally a put and a take can proceed simultaneously. (Although it does not allow multiple concurrent puts or takes.) This class tends to perform more efficently than oth ...
  • org.jboss.cache.tests.transaction.DeadlockTest
    Tests transactional access to a local TreeCache, with concurrent (deadlock-prone) access. Note: we use DummpyTranasctionManager to replace jta @version $Id:,v 1.2 2005/04/05 17:19:45 belaban Exp $
  • edu.oswego.cs.dl.util.concurrent.WaitFreeQueue
    A wait-free linked list based queue implementation. <p> While this class conforms to the full Channel interface, only the <code>put</code> and <code>poll</code> methods are useful in most applications. Because the queue does not support blocking operations, <code& ...
  • org.eclipse.jdt.internal.ui.wizards.JavaProjectWizardSecondPage
    As addition to the JavaCapabilityConfigurationPage, the wizard does an early project creation (so that linked folders can be defined) and, if an existing external location was specified, offers to do a classpath detection
  • org.objectweb.dream.synchro.MutexImpl
    Basic implementation of the {@link Mutex}interface. This implementation is unsafe, i.e. the identity of components acquiring/releasing the Mutex is unknown. As a consequence, the acquired mutex can be released by every component. <br/>Inspired by Doug Lea's implementation.
  • org.jacorb.notification.servant.TypedProxyPullSupplierImpl
    @author Alphonse Bendt @version $Id:,v 1.8 2005/04/27 10:45:46 alphonse.bendt Exp $
    Wraps an output stream that blocks indefinitely to simulate timeouts on write(), flush(), and close(). The resulting output stream is buffered and supports retrying operations that failed due to an InterruptedIOException. Supports resuming partially completed operations after an InterruptedIOExc ...
    Provides applet host for the XSLT processor. To perform transformations on an HTML client: <ol> <li>Use an &lt;applet&gt; tag to embed this applet in the HTML client.</li> <li>Use the DocumentURL and StyleURL PARAM tags or the {@link #setDocumentURL} and {@link #set ...
    Opened socket manager component that lanage multiple opened sockets at a time. Each opened socket is executed by its own task.
  • demo.Everything
Popular Tags