MCPcopy Create free account

hub / github.com/Netflix/maestro / functions

Functions5,171 in github.com/Netflix/maestro

↓ 8 callersMethodgetTerminalStatus
Get the terminal step status for a termination action (KILL, STOP, SKIP). Note that the termination action can come from the upstream. If it is from t
maestro-engine/src/main/java/com/netflix/maestro/engine/db/StepAction.java:185
↓ 8 callersMethodgetTimezone
Get Timezone for trigger.
maestro-common/src/main/java/com/netflix/maestro/models/trigger/TimeTrigger.java:36
↓ 8 callersMethodheartbeatGroup
It heartbeats to keep the ownership of the flow group. It also detects if the ownership is lost unexpectedly. It returns the flag (if the ownership is
maestro-flow/src/main/java/com/netflix/maestro/flow/dao/MaestroFlowDao.java:185
↓ 8 callersMethodhumanReadableFormat
Converts {@link Duration} to human-readable string. <p>Example output: <ul> <li>5h <li>7h 15m <li>6h 50m 15s <li>2h 5s <li>48h </ul> Note
maestro-engine/src/main/java/com/netflix/maestro/engine/utils/DurationHelper.java:39
↓ 8 callersMethodinitializeForeachArtifactRollup
Initialize rollup with "base rollup" to aggregate rollup across runs. @param foreachOverview foreach step overview for a current run @param prevForea
maestro-engine/src/main/java/com/netflix/maestro/engine/steps/ForeachStepRuntime.java:222
↓ 8 callersMethodisFailed
()
maestro-engine/src/main/java/com/netflix/maestro/engine/steps/StepRuntime.java:98
↓ 8 callersMethodisLong
Returns true if the ParsableLong is a long.
maestro-common/src/main/java/com/netflix/maestro/models/definition/ParsableLong.java:72
↓ 8 callersMethodlatestMatched
check if the latest event in the list matches the input event.
maestro-common/src/main/java/com/netflix/maestro/models/timeline/Timeline.java:108
↓ 8 callersMethodof
Static method to create a RuntimeOverview.
maestro-common/src/main/java/com/netflix/maestro/models/instance/WorkflowRollupOverview.java:142
↓ 8 callersMethodof
(String id, List<String> joinOn)
maestro-engine/src/main/java/com/netflix/maestro/engine/transformation/JoinStep.java:32
↓ 8 callersMethodreference
()
maestro-flow/src/main/java/com/netflix/maestro/flow/actor/FlowActor.java:91
↓ 8 callersMethodremoveReleasedStepTagPermits
remove all already-released step tag permit records. @return the uuids of deleted records.
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroTagPermitDao.java:379
↓ 8 callersMethodresumeFlow
Resume a maestro flow by filling data into it. @param flow the flow object to be filled with tasks, etc.
maestro-flow/src/main/java/com/netflix/maestro/flow/engine/ExecutionContext.java:281
↓ 8 callersMethodresumePausedStepInstanceAttempt
Resume a paused step instance attempt.Users can choose to resume specific attempt even when breakpoint is set. @param workflowId workflow id for the
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroStepBreakpointDao.java:435
↓ 8 callersMethodretrieveRuntimeSummary
Utility method to retrieve step runtime summary from the key-value data. @param data all data in a map @return a step summary object
maestro-engine/src/main/java/com/netflix/maestro/engine/utils/StepHelper.java:104
↓ 8 callersMethodsleep
(long millis)
maestro-engine/src/main/java/com/netflix/maestro/engine/utils/TimeUtils.java:22
↓ 8 callersMethodsync
sync the pending updates to maestro step instance db and also publish notifications. <p>It never throws an exception and step runtime state machine w
maestro-engine/src/main/java/com/netflix/maestro/engine/execution/StepSyncManager.java:49
↓ 8 callersMethodterminateRunningInstances
Send terminate events for all running workflow instances with a batch limit. @param workflowId workflow id @param limit size limit for each event @pa
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroWorkflowInstanceDao.java:453
↓ 8 callersMethodtoDefinition
()
maestro-common/src/main/java/com/netflix/maestro/models/parameter/LongParameter.java:93
↓ 8 callersMethodtoNumeric
Convert the string to a numeric number and return it if yes.
maestro-common/src/main/java/com/netflix/maestro/utils/ObjectHelper.java:44
↓ 8 callersMethodtoTimelineEvent
convert an action to timeline event.
maestro-engine/src/main/java/com/netflix/maestro/engine/db/StepAction.java:159
↓ 8 callersMethodupdateForDownstreamIfNeeded
Update some info only for restart case, e.g. remove last restart node from the path.
maestro-engine/src/main/java/com/netflix/maestro/engine/execution/RunRequest.java:120
↓ 8 callersMethodupdateRetryDelayTimeToTimeline
(StepRuntimeSummary runtimeSummary)
maestro-engine/src/main/java/com/netflix/maestro/engine/tasks/MaestroTask.java:939
↓ 7 callersMethodaddInstance
Add an instance uuid into the uuids for a given concurrencyId with depth. It will check if either instance uuid set or step uuids reach the limit. If
maestro-engine/src/main/java/com/netflix/maestro/engine/concurrency/InstanceStepConcurrencyHandler.java:40
↓ 7 callersMethodaddLockIfAbsent
Add a lock for the given queue id if not exists. It is idempotent. @param queueId queue id @return the number of rows affected (0 or 1)
maestro-queue/src/main/java/com/netflix/maestro/queue/dao/MaestroQueueDao.java:308
↓ 7 callersMethodaddOneRun
Add a workflow run (instance id, run id, uuid) to the job event.
maestro-queue/src/main/java/com/netflix/maestro/queue/jobevents/TerminateThenRunJobEvent.java:63
↓ 7 callersMethodaddSignalInstance
Add a signal instance to db. @param conn db connection @param instanceId signal instance id for deduplication @param name signal name @param instance
maestro-signal/src/main/java/com/netflix/maestro/signal/dao/MaestroSignalInstanceDao.java:55
↓ 7 callersMethodaddWorkflowTrigger
subscribe to the workflow signal trigger including signal names in the trigger. It also saves the current latest signal sequence ids as the checkpoint
maestro-signal/src/main/java/com/netflix/maestro/signal/dao/MaestroSignalTriggerDao.java:60
↓ 7 callersMethodasDynamicOutput
get DynamicOutput type artifact. @return concrete artifact object.
maestro-common/src/main/java/com/netflix/maestro/models/artifact/Artifact.java:136
↓ 7 callersMethodasStringArrayParamDef
get STRING_ARRAY type (Java String[] type) paramDefinition. @return concrete parameter definition object.
maestro-common/src/main/java/com/netflix/maestro/models/parameter/ParamDefinition.java:216
↓ 7 callersMethodasWhile
get WhileArtifact type artifact. @return concrete artifact object.
maestro-common/src/main/java/com/netflix/maestro/models/artifact/Artifact.java:109
↓ 7 callersMethodcheckTrimEmpty
Check if all the chars in a string are whitespace characters. @param s a string to check @return return true if all the chars in a string are whitesp
maestro-common/src/main/java/com/netflix/maestro/utils/StringUtils.java:25
↓ 7 callersMethodclaimGroup
Get an unclaimed flow group and then claim it. Note that each flow actor will resume to load data from maestro workflow and step instances to rebuild
maestro-flow/src/main/java/com/netflix/maestro/flow/engine/ExecutionContext.java:322
↓ 7 callersMethodcomputeStepIdsInRuntimeDag
It computes the stepIds included/reachable in the current runtime DAG of the workflow instance run.
maestro-engine/src/main/java/com/netflix/maestro/engine/utils/DagHelper.java:171
↓ 7 callersMethodconvertJson
(String val, Class<T> clazz)
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroWorkflowDao.java:725
↓ 7 callersMethodcreate
(SelType arg)
netflix-sel/src/main/java/com/netflix/sel/type/SelLong.java:27
↓ 7 callersMethodcreate
(String stageName)
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroWorkflowDeletionDao.java:153
↓ 7 callersMethodcreate
static creator.
maestro-queue/src/main/java/com/netflix/maestro/queue/jobevents/NotificationJobEvent.java:36
↓ 7 callersMethodcreateTag
(String name, int permit)
maestro-engine/src/test/java/com/netflix/maestro/engine/dao/MaestroTagPermitDaoTest.java:62
↓ 7 callersMethodderiveRuntimeTagPermits
It derives the runtime tags with their permits based on workflow level and step level step_concurrency and instance_step_concurrency when either enabl
maestro-engine/src/main/java/com/netflix/maestro/engine/execution/WorkflowSummary.java:156
↓ 7 callersMethodevaluateStepParameters
Evaluate step parameters, including sel or string interpolation. @param allStepOutputData parameter definitions from all step definitions in the work
maestro-engine/src/main/java/com/netflix/maestro/engine/eval/ParamEvaluator.java:188
↓ 7 callersMethodexecuteWorkflowInstance
Mark the execution id for idempotency.
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroWorkflowInstanceDao.java:721
↓ 7 callersMethodexistsNotCreatedStep
check if there is any step in NOT_CREATED status.
maestro-common/src/main/java/com/netflix/maestro/models/instance/WorkflowRuntimeOverview.java:83
↓ 7 callersMethodgetAllParams
merge parameters in step definition and step runtime. <p>It includes all runtime params from step definition and step runtime injection and condition
maestro-engine/src/main/java/com/netflix/maestro/engine/execution/StepRuntimeManager.java:197
↓ 7 callersMethodgetAttributes
Get the attributes. @return the attributes of the tag.
maestro-common/src/main/java/com/netflix/maestro/models/definition/Tag.java:91
↓ 7 callersMethodgetExpirationDurationInMillis
()
maestro-flow/src/main/java/com/netflix/maestro/flow/properties/FlowEngineProperties.java:86
↓ 7 callersMethodgetExpression
get parameter expression.
maestro-common/src/main/java/com/netflix/maestro/models/parameter/ParamDefinition.java:55
↓ 7 callersMethodgetLiteralValue
Get the literal value derived from a parameter's value field.
maestro-common/src/main/java/com/netflix/maestro/models/parameter/Parameter.java:104
↓ 7 callersMethodgetOverallRollup
Get merged rollup info from complete iterations and running iterations aggregated from run1 to current run.
maestro-common/src/main/java/com/netflix/maestro/models/instance/ForeachStepOverview.java:112
↓ 7 callersMethodgetRestartInstanceId
Get the current restart workflow instance id.
maestro-engine/src/main/java/com/netflix/maestro/engine/execution/RunRequest.java:95
↓ 7 callersMethodgetStackTrace
Get stackTrace with maximum number of lines returned. @param throwable throwable error @param maxLines max number @return bounded stacktrace string
maestro-common/src/main/java/com/netflix/maestro/utils/ExceptionHelper.java:32
↓ 7 callersMethodgetStepInstanceFieldByIds
( StepInstanceField fieldName, String workflowId, long workflowInstanceId, long workfl
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroStepInstanceDao.java:494
↓ 7 callersMethodgetStepIteration
Get a single step iteration for given iteration rank. @param workflowId id of workflow this step belongs to. @param workflowInstanceId id of workflow
maestro-extensions/src/main/java/com/netflix/maestro/extensions/dao/MaestroForeachFlattenedDao.java:241
↓ 7 callersMethodgetSubTreeImage
(SimpleNode node)
netflix-sel/src/main/java/com/netflix/sel/visitor/SelParserEvaluationVisitor.java:579
↓ 7 callersMethodgetTriggerForUpdate
()
maestro-signal/src/test/java/com/netflix/maestro/signal/dao/MaestroSignalTriggerDaoTest.java:56
↓ 7 callersMethodgetWorkflowInstancesWithLatestRun
Get the latest workflow instance run for a specific workflow id between an instance id range. @param workflowId workflow id @param startInstanceId wo
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroWorkflowInstanceDao.java:961
↓ 7 callersMethodgetWorkflowOwner
()
maestro-engine/src/main/java/com/netflix/maestro/engine/eval/InstanceWrapper.java:103
↓ 7 callersMethodjjMoveStringLiteralDfa7_0
(long old0, long active0)
netflix-sel/src/main/java/com/netflix/sel/ast/SelParserTokenManager.java:605
↓ 7 callersMethodjj_3R_59
()
netflix-sel/src/main/java/com/netflix/sel/ast/SelParser.java:2638
↓ 7 callersMethodloadJson
(String fileName)
maestro-common/src/testFixtures/java/com/netflix/maestro/MaestroBaseTest.java:94
↓ 7 callersMethodmarkInstanceRunning
(long instanceId, long runId)
maestro-engine/src/test/java/com/netflix/maestro/engine/dao/MaestroRunStrategyDaoTest.java:571
↓ 7 callersMethodmarkRemoveTagPermit
Mark tag permit as removed. It will be deleted async by the tag permit task. @param tag tag name
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroTagPermitDao.java:144
↓ 7 callersMethodmarkStepTagPermitAcquired
Mark step tag permit status to be acquired. @param uuid step uuid @return whether there is an update on a record
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroTagPermitDao.java:455
↓ 7 callersMethodmatchSignal
Match signal params with non-empty paramMatch list since a checkpoint. @param conn db connection @param signalMatch signal matching request with non-
maestro-signal/src/main/java/com/netflix/maestro/signal/dao/MaestroSignalParamDao.java:89
↓ 7 callersMethodmatchSignalForStepDependency
Get matched signal sequence id for the given signal step dependency. It is currently based on polling and can support push if needed. The query only n
maestro-signal/src/main/java/com/netflix/maestro/signal/dao/MaestroSignalBrokerDao.java:138
↓ 7 callersMethodobjectMapper
Create Jackson object mapper with maestro needed features.
maestro-common/src/main/java/com/netflix/maestro/utils/JsonHelper.java:31
↓ 7 callersMethodprocess
Processes the message of type T. After processing, it is optionally to return a MaestroJobEvent for the next processing, which might be a different ty
maestro-queue/src/main/java/com/netflix/maestro/queue/processors/MaestroEventProcessor.java:39
↓ 7 callersMethodrefresh
Run monitoring task.
maestro-flow/src/main/java/com/netflix/maestro/flow/engine/ExecutionContext.java:156
↓ 7 callersMethodremoveTagPermits
Remove all tag permits marked as removed. @param limit maximum number of records to remove @return the tags of deleted tag permits
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroTagPermitDao.java:302
↓ 7 callersMethodreset
()
netflix-sel/src/main/java/com/netflix/sel/util/MemoryCounter.java:41
↓ 7 callersMethodsetParams
set params.
maestro-common/src/main/java/com/netflix/maestro/models/signal/SignalOutputsDefinition.java:60
↓ 7 callersMethodsetTransition
Set job transition info (successors only).
maestro-dsl/src/main/java/com/netflix/maestro/dsl/jobs/Job.java:23
↓ 7 callersMethodsetupOutputDataDao
()
maestro-engine/src/test/java/com/netflix/maestro/engine/params/OutputDataManagerTest.java:96
↓ 7 callersMethodshouldPersist
()
maestro-engine/src/main/java/com/netflix/maestro/engine/steps/StepRuntime.java:75
↓ 7 callersMethodstartShutdown
(Action action)
maestro-flow/src/main/java/com/netflix/maestro/flow/actor/BaseActor.java:145
↓ 7 callersMethodtestRestartDirectly
()
maestro-engine/src/test/java/com/netflix/maestro/engine/dao/MaestroStepInstanceActionDaoTest.java:115
↓ 7 callersMethodtoMaestroEvent
Transform it to a maestro event.
maestro-queue/src/main/java/com/netflix/maestro/queue/jobevents/DeleteWorkflowJobEvent.java:57
↓ 7 callersMethodtoWorkflowStartResponse
transform RunResponse to WorkflowStartResponse.
maestro-engine/src/main/java/com/netflix/maestro/engine/execution/RunResponse.java:140
↓ 7 callersMethodtrySaveGroup
Save a flow group to DB. It might fail due to duplicate or conflict and retry will fix it. It's caller's responsibility to retry and find the right no
maestro-flow/src/main/java/com/netflix/maestro/flow/engine/ExecutionContext.java:305
↓ 7 callersMethodtryUnblockFailedWorkflowInstance
Try to unblock failed workflow instance by set its status to FAILED_1.
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroWorkflowInstanceDao.java:577
↓ 7 callersMethodupdate
( Flow flow, WorkflowInstance.Status status, WorkflowSummary summary, WorkflowRuntimeO
maestro-engine/src/main/java/com/netflix/maestro/engine/listeners/MaestroFinalFlowStatusCallback.java:212
↓ 7 callersMethodupdateForRestart
( long iterationId, WorkflowInstance.Status newStatus, WorkflowInstance.Status oldStatus,
maestro-common/src/main/java/com/netflix/maestro/models/instance/ForeachStepOverview.java:185
↓ 7 callersMethodupdateRunningTask
Update a running task in the running task map. RunningTasks map only keeps the latest attempt per task ref name. It will contain the dummy tasks. As r
maestro-flow/src/main/java/com/netflix/maestro/flow/models/Flow.java:96
↓ 7 callersMethodvalidUntil
()
maestro-flow/src/main/java/com/netflix/maestro/flow/actor/Actor.java:18
↓ 7 callersMethodvalidateParamAndDeriveDirection
(T first, T last)
maestro-server/src/main/java/com/netflix/maestro/server/utils/PaginationHelper.java:107
↓ 7 callersMethodwakeUpChildActor
(String ref, Action action)
maestro-flow/src/main/java/com/netflix/maestro/flow/actor/BaseActor.java:118
↓ 7 callersMethodwakeUpChildActors
(Action action)
maestro-flow/src/main/java/com/netflix/maestro/flow/actor/BaseActor.java:114
↓ 6 callersMethodReadByte
()
netflix-sel/src/main/java/com/netflix/sel/ast/JavaCharStream.java:154
↓ 6 callersMethodaddSignal
Add a signal instance based on the signal create request.
maestro-signal/src/main/java/com/netflix/maestro/signal/dao/MaestroSignalBrokerDao.java:95
↓ 6 callersMethodasLongArrayParamDef
get LONG_ARRAY type (Java long[] type) paramDefinition. @return concrete parameter definition object.
maestro-common/src/main/java/com/netflix/maestro/models/parameter/ParamDefinition.java:226
↓ 6 callersMethodbuildMergedParamDefinition
Build merged parameter definition from new and previous parameter definition. <p>An example sequence is <p> <ol> <li>For each in Workflow defined
maestro-engine/src/main/java/com/netflix/maestro/engine/params/ParamsMergeHelper.java:401
↓ 6 callersMethodcalculateRollupBase
Rollup base consists of subworkflow and foreach step rollups from previous runs, and regular step rollups from previous runs. @param instance workflo
maestro-engine/src/main/java/com/netflix/maestro/engine/utils/RollupAggregationHelper.java:245
↓ 6 callersMethodcheckShutdown
()
maestro-flow/src/main/java/com/netflix/maestro/flow/actor/BaseActor.java:153
↓ 6 callersMethodclear
()
netflix-sel/src/main/java/com/netflix/sel/visitor/SelVisitorState.java:42
↓ 6 callersMethodclearRestartFor
Update some info to start a new run.
maestro-engine/src/main/java/com/netflix/maestro/engine/execution/RunRequest.java:144
↓ 6 callersMethodconfigIgnoreFailureMode
Ignore failure mode only if KILL action is from upstream or KILL action is a workflow level action. In either case, no need to apply failure mode afte
maestro-engine/src/main/java/com/netflix/maestro/engine/execution/StepRuntimeSummary.java:413
↓ 6 callersMethodcreateAndRunMaestroTask
( int runCode, Flow.Status status, Step stepDef, StepRuntimeSummary input, Workf
maestro-engine/src/test/java/com/netflix/maestro/engine/tasks/MaestroTaskTest.java:370
↓ 6 callersMethodcreateMessageForWakeUp
( String workflowId, long groupInfo, Map<Long, Long> instanceRunIds)
maestro-queue/src/main/java/com/netflix/maestro/queue/models/MessageDto.java:37
↓ 6 callersMethoddeleteWorkflowData
Delete all workflow data for a given workflow id or unique internal id with a timeout in nanos. @param workflowId workflow id @param internalId inter
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroWorkflowDeletionDao.java:193
↓ 6 callersMethodevaluate
(String expr, Map<String, Object> varsMap, Extension ext)
netflix-sel/src/main/java/com/netflix/sel/SelEvaluator.java:59
← previousnext →501–600 of 5,171, ranked by callers