Interface PojoMassIndexerAgentCreateContext

public interface PojoMassIndexerAgentCreateContext
  • Method Details

    • newScheduledExecutor

      ScheduledExecutorService newScheduledExecutor(int threads, String threadNamePrefix)
      Creates a new fixed size ScheduledExecutorService.

      The queue size is not capped, so users should take care of checking they submit a reasonable amount of tasks.

      threads - the number of threads
      threadNamePrefix - a label to identify the threads; useful for profiling.
      the new ExecutorService
    • tenantIdentifier

      String tenantIdentifier()