Interface PojoMassIndexerAgentCreateContext
-
public interface PojoMassIndexerAgentCreateContext
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ScheduledExecutorService
newScheduledExecutor(int threads, String threadNamePrefix)
Creates a new fixed sizeScheduledExecutorService
.String
tenantIdentifier()
-
-
-
Method Detail
-
newScheduledExecutor
ScheduledExecutorService newScheduledExecutor(int threads, String threadNamePrefix)
Creates a new fixed sizeScheduledExecutorService
.The queue size is not capped, so users should take care of checking they submit a reasonable amount of tasks.
- Parameters:
threads
- the number of threadsthreadNamePrefix
- a label to identify the threads; useful for profiling.- Returns:
- the new ExecutorService
-
tenantIdentifier
String tenantIdentifier()
-
-