if (listenerExecutor != null) {
builder.asyncListenerExecutor().factory(new ManagedExecutorFactory(listenerExecutor));
}
ScheduledExecutorService evictionExecutor = this.dependencies.getEvictionExecutor();
if (evictionExecutor != null) {
builder.evictionScheduledExecutor().factory(new ManagedScheduledExecutorFactory(evictionExecutor));
}
ScheduledExecutorService replicationQueueExecutor = this.dependencies.getReplicationQueueExecutor();
if (replicationQueueExecutor != null) {
builder.replicationQueueScheduledExecutor().factory(new ManagedScheduledExecutorFactory(replicationQueueExecutor));
}