public class KernelSupport extends Object
KF library.| Constructor and Description | 
|---|
| KernelSupport() | 
| Modifier and Type | Method and Description | 
|---|---|
| static <T> T | clone(T source,
     Feature cloneOwner) | 
| static void | stopFeature(Feature f)This function infinitely blocks until all Feature references are removed by the Kernel. | 
| static boolean | stopFeature(Feature f,
           long timeout)KF-1.3 spec:  Feature.stop()may result toSTOPPEDstate when there are remaining
 references from Kernel to the Feature being killed. | 
public static <T> T clone(T source,
                          Feature cloneOwner)
public static void stopFeature(Feature f)
public static boolean stopFeature(Feature f, long timeout)
Feature.stop() may result to STOPPED state when there are remaining
 references from Kernel to the Feature being killed. Wadapps API does not provide this intermediate step (the
 STOPPED state is not a Wadapps state). This function blocks until all Feature references are removed
 by the Kernel (i.e. wait until pumps have finished their current job, ...) or the timeout occurs.f - the feature to stop.timeout - the maximum time to wait in milliseconds.STOPPED state)