public final class ClusterEntrypointUtils extends Object
ClusterEntrypoint
.Modifier and Type | Method and Description |
---|---|
static int |
getPoolSize(Configuration config)
Gets and verify the io-executor pool size based on configuration.
|
static Optional<File> |
tryFindUserLibDirectory()
Tries to find the user library directory.
|
public static Optional<File> tryFindUserLibDirectory()
Optional.empty()
if there is
nonepublic static int getPoolSize(Configuration config)
config
- The configuration to read.Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.