Uses of Class
org.apache.storm.generated.LocalAssignment
Package
Description
-
Uses of LocalAssignment in org.apache.storm.daemon.supervisor
Modifier and TypeMethodDescriptionSupervisor.getCurrAssignment()
protected Map<Integer,
LocalAssignment> ReadClusterState.readAssignments
(Map<String, Assignment> assignmentsSnapshot) protected Map<Integer,
LocalAssignment> ReadClusterState.readMyExecutors
(String topoId, String assignmentId, Assignment assignment) Modifier and TypeMethodDescriptionvoid
Slot.blobChanging
(LocalAssignment assignment, int port, LocallyCachedBlob blob, GoodToGo go) long
Container.getTotalTopologyMemoryReserved
(LocalAssignment withUpdatedLimits) Get the total memory reserved.boolean
BasicContainer.isMemoryLimitViolated
(LocalAssignment withUpdatedLimits) boolean
Container.isMemoryLimitViolated
(LocalAssignment withUpdatedLimits) Check if the container is over its memory limit AND needs to be killed.BasicContainerLauncher.launchContainer
(int port, LocalAssignment assignment, LocalState state) abstract Container
ContainerLauncher.launchContainer
(int port, LocalAssignment assignment, LocalState state) Launch a container in a given slot.LocalContainerLauncher.launchContainer
(int port, LocalAssignment assignment, LocalState state) BasicContainerLauncher.recoverContainer
(int port, LocalAssignment assignment, LocalState state) abstract Container
ContainerLauncher.recoverContainer
(int port, LocalAssignment assignment, LocalState state) Recover a container for a running process.LocalContainerLauncher.recoverContainer
(int port, LocalAssignment assignment, LocalState state) final void
Slot.setNewAssignment
(LocalAssignment newAssignment) Set a new assignment asynchronously.ModifierConstructorDescriptionBasicContainer
(Container.ContainerType type, Map<String, Object> conf, String supervisorId, int supervisorPort, int port, LocalAssignment assignment, ResourceIsolationInterface resourceIsolationManager, LocalState localState, String workerId, StormMetricsRegistry metricsRegistry, ContainerMemoryTracker containerMemoryTracker) Create a new BasicContainer.protected
Container
(Container.ContainerType type, Map<String, Object> conf, String supervisorId, int supervisorPort, int port, LocalAssignment assignment, ResourceIsolationInterface resourceIsolationManager, String workerId, Map<String, Object> topoConf, AdvancedFSOps ops, StormMetricsRegistry metricsRegistry, ContainerMemoryTracker containerMemoryTracker) Create a new Container.LocalContainer
(Map<String, Object> conf, String supervisorId, int supervisorPort, int port, LocalAssignment assignment, IContext sharedContext, StormMetricsRegistry metricsRegistry, ContainerMemoryTracker containerMemoryTracker, Supervisor.Iface localSupervisor) TimerDecoratedAssignment
(LocalAssignment other, com.codahale.metrics.Timer timer) ModifierConstructorDescriptionSlot
(AsyncLocalizer localizer, Map<String, Object> conf, ContainerLauncher containerLauncher, String host, int port, LocalState localState, IStormClusterState clusterState, ISupervisor supervisor, AtomicReference<Map<Long, LocalAssignment>> cachedCurrentAssignments, OnlyLatestExecutor<Integer> metricsExec, WorkerMetricsProcessor metricsProcessor, org.apache.storm.daemon.supervisor.SlotMetrics slotMetrics) -
Uses of LocalAssignment in org.apache.storm.generated
Modifier and TypeMethodDescriptionint
LocalAssignment.compareTo
(LocalAssignment other) boolean
LocalAssignment.equals
(LocalAssignment that) void
LSSupervisorAssignments.put_to_assignments
(int key, LocalAssignment val) Modifier and TypeMethodDescriptionvoid
LSSupervisorAssignments.set_assignments
(Map<Integer, LocalAssignment> assignments) ModifierConstructorDescriptionLocalAssignment
(LocalAssignment other) Performs a deep copy on other. -
Uses of LocalAssignment in org.apache.storm.localizer
Modifier and TypeMethodDescriptionPortAndAssignment.getAssignment()
TimePortAndAssignment.getAssignment()
Modifier and TypeMethodDescriptionvoid
BlobChangingCallback.blobChanging
(LocalAssignment assignment, int port, LocallyCachedBlob blob, GoodToGo go) Informs the listener that a blob has changed and is ready to update and replace a localized blob that has been marked as tied to the life cycle of the worker process.void
AsyncLocalizer.recoverRunningTopology
(LocalAssignment currentAssignment, int port, BlobChangingCallback cb) Do everything needed to recover the state in the AsyncLocalizer for a running topology.void
AsyncLocalizer.releaseSlotFor
(LocalAssignment assignment, int port) Remove this assignment/port as blocking resources from being cleaned up.AsyncLocalizer.requestDownloadTopologyBlobs
(LocalAssignment assignment, int port, BlobChangingCallback cb) Request that all of the blobs necessary for this topology be downloaded. -
Uses of LocalAssignment in org.apache.storm.utils
Modifier and TypeMethodDescriptionstatic boolean
EquivalenceUtils.areLocalAssignmentsEquivalent
(LocalAssignment first, LocalAssignment second) Decide the equivalence of two local assignments, ignoring the order of executors This is different from #equal method.Modifier and TypeMethodDescriptionvoid
LocalState.setLocalAssignmentsMap
(Map<Integer, LocalAssignment> localAssignmentMap)