com.liferay.portal.kernel.resiliency.spi.provider
Class SPISynchronousQueueUtil

java.lang.Object
  extended by com.liferay.portal.kernel.resiliency.spi.provider.SPISynchronousQueueUtil

public class SPISynchronousQueueUtil
extends java.lang.Object

Author:
Shuyang Zhou

Constructor Summary
SPISynchronousQueueUtil()
           
 
Method Summary
static java.util.concurrent.SynchronousQueue<SPI> createSynchronousQueue(java.lang.String spiUUID)
           
static void destroySynchronousQueue(java.lang.String spiUUID)
           
static void notifySynchronousQueue(java.lang.String spiUUID, SPI spi)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SPISynchronousQueueUtil

public SPISynchronousQueueUtil()
Method Detail

createSynchronousQueue

public static java.util.concurrent.SynchronousQueue<SPI> createSynchronousQueue(java.lang.String spiUUID)

destroySynchronousQueue

public static void destroySynchronousQueue(java.lang.String spiUUID)

notifySynchronousQueue

public static void notifySynchronousQueue(java.lang.String spiUUID,
                                          SPI spi)
                                   throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException