public static class TaskExecutionProperties.Pool extends Object
Constructor and Description |
---|
Pool() |
Modifier and Type | Method and Description |
---|---|
int |
getCoreSize() |
Duration |
getKeepAlive() |
int |
getMaxSize() |
int |
getQueueCapacity() |
boolean |
isAllowCoreThreadTimeout() |
void |
setAllowCoreThreadTimeout(boolean allowCoreThreadTimeout) |
void |
setCoreSize(int coreSize) |
void |
setKeepAlive(Duration keepAlive) |
void |
setMaxSize(int maxSize) |
void |
setQueueCapacity(int queueCapacity) |
public int getQueueCapacity()
public void setQueueCapacity(int queueCapacity)
public int getCoreSize()
public void setCoreSize(int coreSize)
public int getMaxSize()
public void setMaxSize(int maxSize)
public boolean isAllowCoreThreadTimeout()
public void setAllowCoreThreadTimeout(boolean allowCoreThreadTimeout)
public Duration getKeepAlive()
public void setKeepAlive(Duration keepAlive)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.