Modifier and Type | Interface and Description |
---|---|
static interface |
JobHandle.Listener<T>
A listener for monitoring the state of the job in the remote context.
|
static class |
JobHandle.State
The current state of the submitted job.
|
Modifier and Type | Method and Description |
---|---|
void |
addListener(JobHandle.Listener<T> l)
Add a listener to the job handle.
|
JobHandle.State |
getState()
Return the current state of the job.
|
JobHandle.State getState()
void addListener(JobHandle.Listener<T> l)
l
- The listener to add.Copyright © 2023 The Apache Software Foundation. All rights reserved.