Package | Description |
---|---|
org.apache.storm.daemon.supervisor | |
org.apache.storm.generated | |
org.apache.storm.localizer | |
org.apache.storm.utils |
Modifier and Type | Field and Description |
---|---|
protected LocalAssignment |
Container._assignment |
Modifier and Type | Method and Description |
---|---|
AtomicReference<Map<Long,LocalAssignment>> |
Supervisor.getCurrAssignment() |
protected Map<Integer,LocalAssignment> |
ReadClusterState.readAssignments(Map<String,VersionedData<Assignment>> assignmentsSnapshot) |
protected Map<Integer,LocalAssignment> |
ReadClusterState.readMyExecutors(String stormId,
String assignmentId,
Assignment assignment) |
Modifier and Type | Method and Description |
---|---|
Container |
RunAsUserContainerLauncher.launchContainer(int port,
LocalAssignment assignment,
LocalState state) |
Container |
LocalContainerLauncher.launchContainer(int port,
LocalAssignment assignment,
LocalState state) |
abstract Container |
ContainerLauncher.launchContainer(int port,
LocalAssignment assignment,
LocalState state)
Launch a container in a given slot
|
Container |
BasicContainerLauncher.launchContainer(int port,
LocalAssignment assignment,
LocalState state) |
Container |
RunAsUserContainerLauncher.recoverContainer(int port,
LocalAssignment assignment,
LocalState state) |
Container |
LocalContainerLauncher.recoverContainer(int port,
LocalAssignment assignment,
LocalState state) |
abstract Container |
ContainerLauncher.recoverContainer(int port,
LocalAssignment assignment,
LocalState state)
Recover a container for a running process
|
Container |
BasicContainerLauncher.recoverContainer(int port,
LocalAssignment assignment,
LocalState state) |
void |
Slot.setNewAssignment(LocalAssignment newAssignment)
Set a new assignment asynchronously
|
Constructor and Description |
---|
BasicContainer(Container.ContainerType type,
Map<String,Object> conf,
String supervisorId,
int port,
LocalAssignment assignment,
LocalState localState,
String workerId)
Create a new BasicContainer
|
Container(Container.ContainerType type,
Map<String,Object> conf,
String supervisorId,
int port,
LocalAssignment assignment,
String workerId,
Map<String,Object> topoConf,
AdvancedFSOps ops)
Create a new Container.
|
LocalContainer(Map<String,Object> conf,
String supervisorId,
int port,
LocalAssignment assignment,
IContext sharedContext) |
RunAsUserContainer(Container.ContainerType type,
Map<String,Object> conf,
String supervisorId,
int port,
LocalAssignment assignment,
LocalState localState,
String workerId) |
Constructor and Description |
---|
Slot(ILocalizer localizer,
Map<String,Object> conf,
ContainerLauncher containerLauncher,
String host,
int port,
LocalState localState,
IStormClusterState clusterState,
ISupervisor iSupervisor,
AtomicReference<Map<Long,LocalAssignment>> cachedCurrentAssignments) |
Modifier and Type | Method and Description |
---|---|
LocalAssignment |
LocalAssignment.deepCopy() |
Modifier and Type | Method and Description |
---|---|
Map<Integer,LocalAssignment> |
LSSupervisorAssignments.get_assignments() |
Modifier and Type | Method and Description |
---|---|
int |
LocalAssignment.compareTo(LocalAssignment other) |
boolean |
LocalAssignment.equals(LocalAssignment that) |
void |
LSSupervisorAssignments.put_to_assignments(int key,
LocalAssignment val) |
Modifier and Type | Method and Description |
---|---|
void |
LSSupervisorAssignments.set_assignments(Map<Integer,LocalAssignment> assignments) |
Constructor and Description |
---|
LocalAssignment(LocalAssignment other)
Performs a deep copy on other.
|
Constructor and Description |
---|
LSSupervisorAssignments(Map<Integer,LocalAssignment> assignments) |
Modifier and Type | Method and Description |
---|---|
void |
ILocalizer.recoverRunningTopology(LocalAssignment assignemnt,
int port)
Recover a running topology by incrementing references for what it has already downloaded.
|
void |
AsyncLocalizer.recoverRunningTopology(LocalAssignment assignment,
int port) |
boolean |
LocalDownloadedResource.release(int port,
LocalAssignment la)
Release a port from the reference count, and update isDone if all is done.
|
void |
ILocalizer.releaseSlotFor(LocalAssignment assignment,
int port)
dec reference count on all blobs associated with this topology.
|
void |
AsyncLocalizer.releaseSlotFor(LocalAssignment assignment,
int port) |
Future<Void> |
ILocalizer.requestDownloadBaseTopologyBlobs(LocalAssignment assignment,
int port)
Download storm.jar, storm.conf, and storm.ser for this topology if not done so already, and inc a reference count on them.
|
Future<Void> |
AsyncLocalizer.requestDownloadBaseTopologyBlobs(LocalAssignment assignment,
int port) |
Future<Void> |
ILocalizer.requestDownloadTopologyBlobs(LocalAssignment assignment,
int port)
Download the blobs for this topology (reading in list in from the config) and inc reference count for these blobs.
|
Future<Void> |
AsyncLocalizer.requestDownloadTopologyBlobs(LocalAssignment assignment,
int port) |
Future<Void> |
LocalDownloadedResource.reserve(int port,
LocalAssignment la)
Reserve the resources
|
Modifier and Type | Method and Description |
---|---|
Map<Integer,LocalAssignment> |
LocalState.getLocalAssignmentsMap() |
Modifier and Type | Method and Description |
---|---|
void |
LocalState.setLocalAssignmentsMap(Map<Integer,LocalAssignment> localAssignmentMap) |
Copyright © 2022 The Apache Software Foundation. All Rights Reserved.