Package jade.core
Interface ResourceManager
-
public interface ResourceManagerThis is the interface that must be implemented by a class managing Thread resources on aContainer- Author:
- Giovanni Caire - TILAB
- See Also:
FullResourceManager
-
-
Field Summary
Fields Modifier and Type Field Description static intSYSTEM_AGENTSstatic intTIME_CRITICALstatic intUSER_AGENTS
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ThreadgetThread(int type, String name, Runnable r)Return a Thread without starting it.voidinitialize(Profile p)voidreleaseResources()
-
-
-
Field Detail
-
USER_AGENTS
static final int USER_AGENTS
- See Also:
- Constant Field Values
-
SYSTEM_AGENTS
static final int SYSTEM_AGENTS
- See Also:
- Constant Field Values
-
TIME_CRITICAL
static final int TIME_CRITICAL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getThread
Thread getThread(int type, String name, Runnable r)
Return a Thread without starting it.- Parameters:
type- The type of the Thread that will be returned: valid types areUSER_AGENTS,SYSTEM_AGENTS,TIME_CRITICAL.r- TheRunnableobject that will executed by the returnedThread.
-
initialize
void initialize(Profile p)
-
releaseResources
void releaseResources()
-
-