public class TensorFlowClusterResolver extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CHIEF_JOB_NAME
TensorFlow chief job name.
|
static String |
WORKER_JOB_NAME
TensorFlow worker job name.
|
Constructor and Description |
---|
TensorFlowClusterResolver(Ignite ignite,
String portPoolName,
int portFrom,
int portCnt)
Constructs a new instance of TensorFlow cluster resolver.
|
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroys TensorFlow cluster resolver.
|
void |
releasePorts(TensorFlowClusterSpec spec)
Releases ports acquired for the given cluster specification.
|
TensorFlowClusterSpec |
resolveAndAcquirePorts(String upstreamCacheName)
Resolves TensorFlow cluster and acquires required ports.
|
public static final String WORKER_JOB_NAME
public static final String CHIEF_JOB_NAME
public TensorFlowClusterSpec resolveAndAcquirePorts(String upstreamCacheName)
upstreamCacheName
- Upstream cache name.public void releasePorts(TensorFlowClusterSpec spec)
spec
- TensorFlow cluster specification.public void destroy()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019