backtype.storm.utils
Class InprocMessaging
java.lang.Object
backtype.storm.utils.InprocMessaging
public class InprocMessaging
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InprocMessaging
public InprocMessaging()
acquireNewPort
public static int acquireNewPort()
sendMessage
public static void sendMessage(int port,
Object msg)
takeMessage
public static Object takeMessage(int port)
throws InterruptedException
- Throws:
InterruptedException
pollMessage
public static Object pollMessage(int port)
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.