Example usage for com.liferay.portal.kernel.nio.intraband.rpc IntrabandRPCUtil execute

List of usage examples for com.liferay.portal.kernel.nio.intraband.rpc IntrabandRPCUtil execute

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.nio.intraband.rpc IntrabandRPCUtil execute.

Prototype

public static <V extends Serializable> NoticeableFuture<V> execute(RegistrationReference registrationReference,
            ProcessCallable<V> processCallable) 

Source Link

Usage

From source file:com.liferay.testmisc.messaging.TestPortletConfigMessageListener.java

License:Open Source License

private static void _countDown() throws Exception {
    _countDownLatch.countDown();/*from w w w .ja v a  2s . co m*/

    for (SPI spi : MPIHelperUtil.getSPIs()) {
        IntrabandRPCUtil.execute(spi.getRegistrationReference(), new CountDownProcessCallable());
    }
}