Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Netflix/maestro
/ functions
Functions
5,171 in github.com/Netflix/maestro
⨍
Functions
5,171
◇
Types & classes
1,132
↓ 8 callers
Method
getTerminalStatus
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 callers
Method
getTimezone
Get Timezone for trigger.
maestro-common/src/main/java/com/netflix/maestro/models/trigger/TimeTrigger.java:36
↓ 8 callers
Method
heartbeatGroup
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 callers
Method
humanReadableFormat
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 callers
Method
initializeForeachArtifactRollup
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 callers
Method
isFailed
()
maestro-engine/src/main/java/com/netflix/maestro/engine/steps/StepRuntime.java:98
↓ 8 callers
Method
isLong
Returns true if the ParsableLong is a long.
maestro-common/src/main/java/com/netflix/maestro/models/definition/ParsableLong.java:72
↓ 8 callers
Method
latestMatched
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 callers
Method
of
Static method to create a RuntimeOverview.
maestro-common/src/main/java/com/netflix/maestro/models/instance/WorkflowRollupOverview.java:142
↓ 8 callers
Method
of
(String id, List<String> joinOn)
maestro-engine/src/main/java/com/netflix/maestro/engine/transformation/JoinStep.java:32
↓ 8 callers
Method
reference
()
maestro-flow/src/main/java/com/netflix/maestro/flow/actor/FlowActor.java:91
↓ 8 callers
Method
removeReleasedStepTagPermits
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 callers
Method
resumeFlow
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 callers
Method
resumePausedStepInstanceAttempt
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 callers
Method
retrieveRuntimeSummary
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 callers
Method
sleep
(long millis)
maestro-engine/src/main/java/com/netflix/maestro/engine/utils/TimeUtils.java:22
↓ 8 callers
Method
sync
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 callers
Method
terminateRunningInstances
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 callers
Method
toDefinition
()
maestro-common/src/main/java/com/netflix/maestro/models/parameter/LongParameter.java:93
↓ 8 callers
Method
toNumeric
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 callers
Method
toTimelineEvent
convert an action to timeline event.
maestro-engine/src/main/java/com/netflix/maestro/engine/db/StepAction.java:159
↓ 8 callers
Method
updateForDownstreamIfNeeded
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 callers
Method
updateRetryDelayTimeToTimeline
(StepRuntimeSummary runtimeSummary)
maestro-engine/src/main/java/com/netflix/maestro/engine/tasks/MaestroTask.java:939
↓ 7 callers
Method
addInstance
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 callers
Method
addLockIfAbsent
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 callers
Method
addOneRun
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 callers
Method
addSignalInstance
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 callers
Method
addWorkflowTrigger
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 callers
Method
asDynamicOutput
get DynamicOutput type artifact. @return concrete artifact object.
maestro-common/src/main/java/com/netflix/maestro/models/artifact/Artifact.java:136
↓ 7 callers
Method
asStringArrayParamDef
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 callers
Method
asWhile
get WhileArtifact type artifact. @return concrete artifact object.
maestro-common/src/main/java/com/netflix/maestro/models/artifact/Artifact.java:109
↓ 7 callers
Method
checkTrimEmpty
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 callers
Method
claimGroup
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 callers
Method
computeStepIdsInRuntimeDag
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 callers
Method
convertJson
(String val, Class<T> clazz)
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroWorkflowDao.java:725
↓ 7 callers
Method
create
(SelType arg)
netflix-sel/src/main/java/com/netflix/sel/type/SelLong.java:27
↓ 7 callers
Method
create
(String stageName)
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroWorkflowDeletionDao.java:153
↓ 7 callers
Method
create
static creator.
maestro-queue/src/main/java/com/netflix/maestro/queue/jobevents/NotificationJobEvent.java:36
↓ 7 callers
Method
createTag
(String name, int permit)
maestro-engine/src/test/java/com/netflix/maestro/engine/dao/MaestroTagPermitDaoTest.java:62
↓ 7 callers
Method
deriveRuntimeTagPermits
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 callers
Method
evaluateStepParameters
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 callers
Method
executeWorkflowInstance
Mark the execution id for idempotency.
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroWorkflowInstanceDao.java:721
↓ 7 callers
Method
existsNotCreatedStep
check if there is any step in NOT_CREATED status.
maestro-common/src/main/java/com/netflix/maestro/models/instance/WorkflowRuntimeOverview.java:83
↓ 7 callers
Method
getAllParams
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 callers
Method
getAttributes
Get the attributes. @return the attributes of the tag.
maestro-common/src/main/java/com/netflix/maestro/models/definition/Tag.java:91
↓ 7 callers
Method
getExpirationDurationInMillis
()
maestro-flow/src/main/java/com/netflix/maestro/flow/properties/FlowEngineProperties.java:86
↓ 7 callers
Method
getExpression
get parameter expression.
maestro-common/src/main/java/com/netflix/maestro/models/parameter/ParamDefinition.java:55
↓ 7 callers
Method
getLiteralValue
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 callers
Method
getOverallRollup
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 callers
Method
getRestartInstanceId
Get the current restart workflow instance id.
maestro-engine/src/main/java/com/netflix/maestro/engine/execution/RunRequest.java:95
↓ 7 callers
Method
getStackTrace
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 callers
Method
getStepInstanceFieldByIds
( StepInstanceField fieldName, String workflowId, long workflowInstanceId, long workfl
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroStepInstanceDao.java:494
↓ 7 callers
Method
getStepIteration
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 callers
Method
getSubTreeImage
(SimpleNode node)
netflix-sel/src/main/java/com/netflix/sel/visitor/SelParserEvaluationVisitor.java:579
↓ 7 callers
Method
getTriggerForUpdate
()
maestro-signal/src/test/java/com/netflix/maestro/signal/dao/MaestroSignalTriggerDaoTest.java:56
↓ 7 callers
Method
getWorkflowInstancesWithLatestRun
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 callers
Method
getWorkflowOwner
()
maestro-engine/src/main/java/com/netflix/maestro/engine/eval/InstanceWrapper.java:103
↓ 7 callers
Method
jjMoveStringLiteralDfa7_0
(long old0, long active0)
netflix-sel/src/main/java/com/netflix/sel/ast/SelParserTokenManager.java:605
↓ 7 callers
Method
jj_3R_59
()
netflix-sel/src/main/java/com/netflix/sel/ast/SelParser.java:2638
↓ 7 callers
Method
loadJson
(String fileName)
maestro-common/src/testFixtures/java/com/netflix/maestro/MaestroBaseTest.java:94
↓ 7 callers
Method
markInstanceRunning
(long instanceId, long runId)
maestro-engine/src/test/java/com/netflix/maestro/engine/dao/MaestroRunStrategyDaoTest.java:571
↓ 7 callers
Method
markRemoveTagPermit
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 callers
Method
markStepTagPermitAcquired
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 callers
Method
matchSignal
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 callers
Method
matchSignalForStepDependency
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 callers
Method
objectMapper
Create Jackson object mapper with maestro needed features.
maestro-common/src/main/java/com/netflix/maestro/utils/JsonHelper.java:31
↓ 7 callers
Method
process
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 callers
Method
refresh
Run monitoring task.
maestro-flow/src/main/java/com/netflix/maestro/flow/engine/ExecutionContext.java:156
↓ 7 callers
Method
removeTagPermits
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 callers
Method
reset
()
netflix-sel/src/main/java/com/netflix/sel/util/MemoryCounter.java:41
↓ 7 callers
Method
setParams
set params.
maestro-common/src/main/java/com/netflix/maestro/models/signal/SignalOutputsDefinition.java:60
↓ 7 callers
Method
setTransition
Set job transition info (successors only).
maestro-dsl/src/main/java/com/netflix/maestro/dsl/jobs/Job.java:23
↓ 7 callers
Method
setupOutputDataDao
()
maestro-engine/src/test/java/com/netflix/maestro/engine/params/OutputDataManagerTest.java:96
↓ 7 callers
Method
shouldPersist
()
maestro-engine/src/main/java/com/netflix/maestro/engine/steps/StepRuntime.java:75
↓ 7 callers
Method
startShutdown
(Action action)
maestro-flow/src/main/java/com/netflix/maestro/flow/actor/BaseActor.java:145
↓ 7 callers
Method
testRestartDirectly
()
maestro-engine/src/test/java/com/netflix/maestro/engine/dao/MaestroStepInstanceActionDaoTest.java:115
↓ 7 callers
Method
toMaestroEvent
Transform it to a maestro event.
maestro-queue/src/main/java/com/netflix/maestro/queue/jobevents/DeleteWorkflowJobEvent.java:57
↓ 7 callers
Method
toWorkflowStartResponse
transform RunResponse to WorkflowStartResponse.
maestro-engine/src/main/java/com/netflix/maestro/engine/execution/RunResponse.java:140
↓ 7 callers
Method
trySaveGroup
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 callers
Method
tryUnblockFailedWorkflowInstance
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 callers
Method
update
( Flow flow, WorkflowInstance.Status status, WorkflowSummary summary, WorkflowRuntimeO
maestro-engine/src/main/java/com/netflix/maestro/engine/listeners/MaestroFinalFlowStatusCallback.java:212
↓ 7 callers
Method
updateForRestart
( long iterationId, WorkflowInstance.Status newStatus, WorkflowInstance.Status oldStatus,
maestro-common/src/main/java/com/netflix/maestro/models/instance/ForeachStepOverview.java:185
↓ 7 callers
Method
updateRunningTask
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 callers
Method
validUntil
()
maestro-flow/src/main/java/com/netflix/maestro/flow/actor/Actor.java:18
↓ 7 callers
Method
validateParamAndDeriveDirection
(T first, T last)
maestro-server/src/main/java/com/netflix/maestro/server/utils/PaginationHelper.java:107
↓ 7 callers
Method
wakeUpChildActor
(String ref, Action action)
maestro-flow/src/main/java/com/netflix/maestro/flow/actor/BaseActor.java:118
↓ 7 callers
Method
wakeUpChildActors
(Action action)
maestro-flow/src/main/java/com/netflix/maestro/flow/actor/BaseActor.java:114
↓ 6 callers
Method
ReadByte
()
netflix-sel/src/main/java/com/netflix/sel/ast/JavaCharStream.java:154
↓ 6 callers
Method
addSignal
Add a signal instance based on the signal create request.
maestro-signal/src/main/java/com/netflix/maestro/signal/dao/MaestroSignalBrokerDao.java:95
↓ 6 callers
Method
asLongArrayParamDef
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 callers
Method
buildMergedParamDefinition
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 callers
Method
calculateRollupBase
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 callers
Method
checkShutdown
()
maestro-flow/src/main/java/com/netflix/maestro/flow/actor/BaseActor.java:153
↓ 6 callers
Method
clear
()
netflix-sel/src/main/java/com/netflix/sel/visitor/SelVisitorState.java:42
↓ 6 callers
Method
clearRestartFor
Update some info to start a new run.
maestro-engine/src/main/java/com/netflix/maestro/engine/execution/RunRequest.java:144
↓ 6 callers
Method
configIgnoreFailureMode
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 callers
Method
createAndRunMaestroTask
( int runCode, Flow.Status status, Step stepDef, StepRuntimeSummary input, Workf
maestro-engine/src/test/java/com/netflix/maestro/engine/tasks/MaestroTaskTest.java:370
↓ 6 callers
Method
createMessageForWakeUp
( String workflowId, long groupInfo, Map<Long, Long> instanceRunIds)
maestro-queue/src/main/java/com/netflix/maestro/queue/models/MessageDto.java:37
↓ 6 callers
Method
deleteWorkflowData
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 callers
Method
evaluate
(String expr, Map<String, Object> varsMap, Extension ext)
netflix-sel/src/main/java/com/netflix/sel/SelEvaluator.java:59
← previous
next →
501–600 of 5,171, ranked by callers