Interface PojoMassIndexerAgentCreateContext
public interface PojoMassIndexerAgentCreateContext
-
Method Summary
Modifier and TypeMethodDescriptionnewScheduledExecutor
(int threads, String threadNamePrefix) Creates a new fixed sizeScheduledExecutorService
.
-
Method Details
-
newScheduledExecutor
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()
-