| Package | Description |
|---|---|
| org.apache.flink.runtime.clusterframework |
This package contains the cluster resource management functionality.
|
| org.apache.flink.runtime.clusterframework.messages |
This package contains the actor messages that are sent between the
cluster resource framework and the JobManager, as well as the generic
messages sent between the cluster resource framework and the client.
|
| org.apache.flink.runtime.clusterframework.standalone | |
| org.apache.flink.runtime.clusterframework.types | |
| org.apache.flink.runtime.instance | |
| org.apache.flink.runtime.testutils |
| Modifier and Type | Method and Description |
|---|---|
boolean |
FlinkResourceManager.isStarted(ResourceID resourceId)
Gets the started worker for a given resource ID, if one is available.
|
void |
FlinkResourceManager.notifyWorkerFailed(ResourceID resourceID,
String message)
This method should be called by the framework once it detects that a currently registered
worker has failed.
|
protected abstract void |
FlinkResourceManager.releasePendingWorker(ResourceID resourceID)
Trigger a release of a pending worker.
|
protected abstract WorkerType |
FlinkResourceManager.workerStarted(ResourceID resourceID)
Callback when a worker was started.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract Collection<WorkerType> |
FlinkResourceManager.reacceptRegisteredWorkers(Collection<ResourceID> registered)
This method is called when the resource manager starts after a failure and reconnects to
the leader JobManager, who still has some workers registered.
|
| Modifier and Type | Method and Description |
|---|---|
ResourceID |
NotifyResourceStarted.getResourceID() |
ResourceID |
RemoveResource.resourceId()
Gets the ID under which the resource is registered (for example container ID).
|
ResourceID |
ResourceRemoved.resourceId()
Gets the ID under which the resource is registered (for example container ID).
|
| Modifier and Type | Method and Description |
|---|---|
Collection<ResourceID> |
RegisterResourceManagerSuccessful.currentlyRegisteredTaskManagers() |
| Constructor and Description |
|---|
NotifyResourceStarted(ResourceID resourceID) |
RemoveResource(ResourceID resourceId)
Constructor for a shutdown of a registered resource.
|
ResourceRemoved(ResourceID resourceId,
String message)
Constructor for a shutdown of a registered resource.
|
| Constructor and Description |
|---|
RegisterResourceManagerSuccessful(akka.actor.ActorRef jobManager,
Collection<ResourceID> currentlyRegisteredTaskManagers)
Creates a new message with a list of existing known TaskManagers.
|
| Modifier and Type | Method and Description |
|---|---|
protected ResourceID |
StandaloneResourceManager.workerStarted(ResourceID resourceID) |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<ResourceID> |
StandaloneResourceManager.reacceptRegisteredWorkers(Collection<ResourceID> toConsolidate) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
StandaloneResourceManager.releasePendingWorker(ResourceID resourceID) |
protected void |
StandaloneResourceManager.releaseStartedWorker(ResourceID resourceID) |
protected ResourceID |
StandaloneResourceManager.workerStarted(ResourceID resourceID) |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<ResourceID> |
StandaloneResourceManager.reacceptRegisteredWorkers(Collection<ResourceID> toConsolidate) |
| Modifier and Type | Method and Description |
|---|---|
static ResourceID |
ResourceID.generate()
Generate a random resource id.
|
ResourceID |
ResourceID.getResourceID()
A ResourceID can always retrieve a ResourceID.
|
ResourceID |
ResourceIDRetrievable.getResourceID() |
| Modifier and Type | Method and Description |
|---|---|
ResourceID |
Instance.getResourceId() |
| Modifier and Type | Method and Description |
|---|---|
Instance |
InstanceManager.getRegisteredInstance(ResourceID ref) |
InstanceID |
InstanceManager.registerTaskManager(akka.actor.ActorRef taskManager,
ResourceID resourceID,
InstanceConnectionInfo connectionInfo,
HardwareDescription resources,
int numberOfSlots,
UUID leaderSessionID)
Registers a task manager.
|
| Constructor and Description |
|---|
Instance(ActorGateway actorGateway,
InstanceConnectionInfo connectionInfo,
ResourceID resourceId,
InstanceID id,
HardwareDescription resources,
int numberOfSlots)
Constructs an instance reflecting a registered TaskManager.
|
| Modifier and Type | Field and Description |
|---|---|
ResourceID |
TestingResourceManager.FailResource.resourceID |
| Modifier and Type | Field and Description |
|---|---|
Collection<ResourceID> |
TestingResourceManager.GetRegisteredResourcesReply.resources |
| Constructor and Description |
|---|
FailResource(ResourceID resourceID) |
| Constructor and Description |
|---|
GetRegisteredResourcesReply(Collection<ResourceID> resources) |
Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.