public class AsynchronousControlGroup extends RealtimeThreadGroup
An enhanced RealtimeThreadGroup in which asynchronous task termination can be performed. It defines a set of tasks, for both instances of Schedulable and java.lang.Thread, that can be terminated together. By combining this with a class loader, one can build a virtual process within a Java runtime environment.
Constructor and Description |
---|
AsynchronousControlGroup(RealtimeThreadGroup parent,
String name)
Creates a new asynchronous control group with its scheduler type
inherited from parent.
|
AsynchronousControlGroup(String name)
Creates a new group with the current ThreadGroup instance as its
parent and that parent's scheduler type for its scheduler
type.
|
Modifier and Type | Method and Description |
---|---|
void |
abort()
Terminate all tasks running in this thread group.
|
activeCount, finalize, getMaxEligibility, getScheduler, setMaxEligibility, visitThreadGroups, visitThreadGroups, visitThreads, visitThreads
activeGroupCount, allowThreadSuspension, checkAccess, destroy, enumerate, enumerate, enumerate, enumerate, getMaxPriority, getName, getParent, interrupt, isDaemon, isDestroyed, list, parentOf, resume, setDaemon, setMaxPriority, stop, suspend, toString, uncaughtException
public AsynchronousControlGroup(RealtimeThreadGroup parent, String name)
parent
- the parent group of the new groupname
- the name of the new grouppublic AsynchronousControlGroup(String name)
name
- the name of the new groupaicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2022 aicas GmbH. All Rights Reserved.