Package jade.core

Interface ResourceManager


  • public interface ResourceManager
    This is the interface that must be implemented by a class managing Thread resources on a Container
    Author:
    Giovanni Caire - TILAB
    See Also:
    FullResourceManager
    • 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 are USER_AGENTS, SYSTEM_AGENTS, TIME_CRITICAL.
        r - The Runnable object that will executed by the returned Thread.
      • initialize

        void initialize​(Profile p)
      • releaseResources

        void releaseResources()