Class SmartExecutorManager

java.lang.Object
org.gcube.vremanagement.executor.SmartExecutorManager
All Implemented Interfaces:
org.gcube.smartgears.ApplicationManager

public class SmartExecutorManager extends Object implements org.gcube.smartgears.ApplicationManager
Author:
Luca Frosini (ISTI - CNR)
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static boolean
     
    static final long
     
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    The method discover the plugins available on classpath and their own supported capabilities and publish a ServiceEndpoint with the discovered information.
    void
    This function is invoked before the service will stop and unpublish the resource from the IS to maintain the infrastructure integrity.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • JOIN_TIMEOUT

      public static final long JOIN_TIMEOUT
      See Also:
    • NAME

      public static final String NAME
    • initialised

      public static boolean initialised
  • Constructor Details

    • SmartExecutorManager

      public SmartExecutorManager()
  • Method Details

    • onInit

      public void onInit()
      The method discover the plugins available on classpath and their own supported capabilities and publish a ServiceEndpoint with the discovered information. Furthermore create/connect to DB
      Specified by:
      onInit in interface org.gcube.smartgears.ApplicationManager
    • onShutdown

      public void onShutdown()
      This function is invoked before the service will stop and unpublish the resource from the IS to maintain the infrastructure integrity. Furthermore close the connection to DB.
      Specified by:
      onShutdown in interface org.gcube.smartgears.ApplicationManager