use of com.wm.app.b2b.server.ServiceThread in project Tundra by Permafrost.
the class service method join.
public static final void join(IData pipeline) throws ServiceException {
// --- <<IS-START(join)>> ---
// @subtype unknown
// @sigtype java 3.5
// [i] object:0:optional $thread
// [i] field:0:optional $raise? {"true","false"}
// [o] record:0:optional $pipeline
IDataCursor cursor = pipeline.getCursor();
try {
ServiceThread thread = IDataHelper.get(cursor, "$thread", ServiceThread.class);
boolean raise = IDataHelper.getOrDefault(cursor, "$raise", Boolean.class, true);
if (thread != null)
IDataHelper.put(cursor, "$pipeline", ServiceHelper.join(thread, raise));
} finally {
cursor.destroy();
}
// --- <<IS-END>> ---
}
Aggregations