Interface ITaskVotingStrategyManagerFactory


public interface ITaskVotingStrategyManagerFactory
  • Method Details

    • getTaskVotingStrategyManager

      <T extends ITaskVotingStrategyManager> T getTaskVotingStrategyManager(Class<T> engineType) throws PortalException
      Retrieves an voting strategy manager, registered as an OSGi service or as a Java service.
      Type Parameters:
      T - - the voting strategy manager implementation
      Parameters:
      engineType - - the voting strategy manager type class
      Returns:
      the found voting strategy manager
      Throws:
      PortalException - if the specified manager cannot be found or any other exception occurs
    • getTaskVotingStrategyManager

      ITaskVotingStrategyManager getTaskVotingStrategyManager(IndexEngineType engineType) throws PortalException
      Retrieves an voting strategy manager, registered as an OSGi service or as a Java service.
      Parameters:
      engineType - - the voting strategy manager type, DB or HPSTRA
      Returns:
      the found voting strategy manager
      Throws:
      PortalException - if the specified manager cannot be found or any other exception occurs
    • getTaskVotingStrategyManager

      ITaskVotingStrategyManager getTaskVotingStrategyManager(String engineType) throws PortalException
      Retrieves an voting strategy manager, registered as an OSGi service or as a Java service.
      Parameters:
      engineType - - the voting strategy manager type, DB or HPSTRA
      Returns:
      the found voting strategy manager
      Throws:
      PortalException - if the specified manager cannot be found or any other exception occurs