@InterfaceAudience.Public @InterfaceStability.Evolving public abstract class ResourceOption extends Object
Modifier and Type | Field and Description |
---|---|
static int |
OVER_COMMIT_TIMEOUT_MILLIS_DEFAULT
Negative value means no timeout.
|
Constructor and Description |
---|
ResourceOption() |
Modifier and Type | Method and Description |
---|---|
static ResourceOption |
newInstance(Resource resource,
int overCommitTimeout) |
String |
toString() |
public static final int OVER_COMMIT_TIMEOUT_MILLIS_DEFAULT
public static ResourceOption newInstance(Resource resource, int overCommitTimeout)
Copyright © 2023 Apache Software Foundation. All rights reserved.