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
↓ 49 callers
Method
clear
Clear the current param extension.
maestro-engine/src/main/java/com/netflix/maestro/engine/eval/MaestroParamExtensionRepo.java:66
↓ 49 callers
Method
create
static creator.
maestro-common/src/main/java/com/netflix/maestro/models/error/Details.java:53
↓ 49 callers
Method
getSource
Get Parameter source.
maestro-common/src/main/java/com/netflix/maestro/models/parameter/Parameter.java:83
↓ 48 callers
Method
isRunning
()
maestro-flow/src/main/java/com/netflix/maestro/flow/actor/Actor.java:12
↓ 48 callers
Method
jjStartNfaWithStates_0
(int pos, int kind, int state)
netflix-sel/src/main/java/com/netflix/sel/ast/SelParserTokenManager.java:717
↓ 48 callers
Method
newTask
create a new task attempt based on latest task info. @param def task def @param inline flag to indicate if the task is actually run by the flow actor
maestro-flow/src/main/java/com/netflix/maestro/flow/models/Flow.java:135
↓ 48 callers
Method
schedule
Schedule an action for the future. @param action action to schedule @param delayInMillis delay to wait @return the future object
maestro-flow/src/main/java/com/netflix/maestro/flow/engine/ExecutionContext.java:83
↓ 47 callers
Method
addStepBreakpoint
Insert step breakpoint. @param workflowId workflow id for the breakpoint. @param version workflow version for the breakpoint. Special value to denote
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroStepBreakpointDao.java:226
↓ 46 callers
Method
from
static method to create a {@link RunResponse} from a {@link WorkflowInstance} and its state.
maestro-engine/src/main/java/com/netflix/maestro/engine/execution/RunResponse.java:88
↓ 45 callers
Method
addWorkflowDefinition
Return created workflow definition {@link WorkflowDefinition} posted by users. @param workflowDef WorkflowDefinition with incomplete data. Filling it
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroWorkflowDao.java:239
↓ 45 callers
Method
updateWorkflowInstance
Update workflow instance for workflow start and restart cases. It does the param evaluation, string interpolation for some fields. It won't update wor
maestro-engine/src/main/java/com/netflix/maestro/engine/utils/WorkflowHelper.java:97
↓ 44 callers
Method
assignOps
(SelOp op, SelType rhs)
netflix-sel/src/main/java/com/netflix/sel/type/SelType.java:25
↓ 44 callers
Method
getSignalOutputs
Get signal step outputs, e.g. signal outputs.
maestro-common/src/main/java/com/netflix/maestro/models/definition/Step.java:74
↓ 44 callers
Method
of
(boolean b)
netflix-sel/src/main/java/com/netflix/sel/type/SelBoolean.java:43
↓ 44 callers
Method
verifyEnqueue
(int start, int terminateThenRun, int update)
maestro-engine/src/test/java/com/netflix/maestro/engine/dao/MaestroRunStrategyDaoTest.java:111
↓ 43 callers
Method
push
Push a signal instance. @param signalInstance the signal instance to push
maestro-signal/src/main/java/com/netflix/maestro/signal/producer/SignalQueueProducer.java:18
↓ 43 callers
Method
run
(String expr)
netflix-sel/src/test/java/com/netflix/sel/visitor/SelParserEvaluationVisitorTest.java:34
↓ 42 callers
Method
loadWorkflow
(String workflowId)
maestro-engine/src/test/java/com/netflix/maestro/engine/dao/MaestroDaoBaseTest.java:28
↓ 41 callers
Method
error
static method to generate an error level {@link TimelineLogEvent}.
maestro-common/src/main/java/com/netflix/maestro/models/timeline/TimelineLogEvent.java:116
↓ 41 callers
Method
getMeta
()
maestro-common/src/main/java/com/netflix/maestro/models/parameter/AbstractParameter.java:62
↓ 41 callers
Method
jjtSetFirstToken
(Token token)
netflix-sel/src/main/java/com/netflix/sel/ast/SimpleNode.java:67
↓ 41 callers
Method
openNodeScope
(Node n)
netflix-sel/src/main/java/com/netflix/sel/ast/JJTSelParserState.java:74
↓ 41 callers
Method
verifyActions
(BaseActor actor, Action... expectedActions)
maestro-flow/src/test/java/com/netflix/maestro/flow/actor/ActorBaseTest.java:53
↓ 40 callers
Method
withRetryableTransaction
Initialize a new transactional {@link Connection} from {@link #dataSource} and pass it to {@literal function}. It includes a retry mechanism for clien
maestro-database/src/main/java/com/netflix/maestro/database/AbstractDatabaseDao.java:308
↓ 39 callers
Method
generateStepAggregated
( StepInstance.Status status, Long startTime, Long endTime)
maestro-engine/src/test/java/com/netflix/maestro/engine/utils/AggregatedViewHelperTest.java:920
↓ 39 callers
Method
tryTerminateQueuedInstance
Terminate queued workflow instance run if feasible. Otherwise, do nothing. @param instance workflow instance @param status status to mark @param reas
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroWorkflowInstanceDao.java:350
↓ 38 callers
Method
addAll
Add a list of new change events if they are not identical to the latest one. @param events events to add @return true if timelineEvents is changed, o
maestro-common/src/main/java/com/netflix/maestro/models/timeline/Timeline.java:80
↓ 38 callers
Method
create
static method to generate a {@link TimelineStatusEvent}.
maestro-common/src/main/java/com/netflix/maestro/models/timeline/TimelineStatusEvent.java:88
↓ 38 callers
Method
extractProperties
extract properties info.
maestro-common/src/main/java/com/netflix/maestro/models/definition/PropertiesSnapshot.java:109
↓ 38 callers
Method
getScheduledActions
()
maestro-flow/src/main/java/com/netflix/maestro/flow/actor/BaseActor.java:239
↓ 38 callers
Method
toDefinition
Convert a parameter to a parameter definition, where its value is set by evaluatedResult and other param attributes (e.g. param mode) will be copied.
maestro-common/src/main/java/com/netflix/maestro/models/parameter/Parameter.java:89
↓ 38 callers
Method
valueOrDefault
Return the value or the default one if the value is null. @param value input value @param defaultValue default value to return if the value is null @
maestro-common/src/main/java/com/netflix/maestro/utils/ObjectHelper.java:34
↓ 37 callers
Method
asMapParamDef
get MAP type (Java Map<String, ParamDefinition> type) paramDefinition. <p>It supports nested structure and thus parameter values in the map can be an
maestro-common/src/main/java/com/netflix/maestro/models/parameter/ParamDefinition.java:258
↓ 37 callers
Method
cleanUp
Delete all created data for a given dag tree with a given concurrencyId.
maestro-engine/src/main/java/com/netflix/maestro/engine/concurrency/InstanceStepConcurrencyHandler.java:51
↓ 37 callers
Method
defaultVisit
(SimpleNode node, Object data)
netflix-sel/src/main/java/com/netflix/sel/ast/SelParserDefaultVisitor.java:5
↓ 37 callers
Method
fromJson
Static method to read a JSON to an object. It throws a non retryable error if the processing is failed.
maestro-common/src/main/java/com/netflix/maestro/utils/JsonHelper.java:80
↓ 37 callers
Method
getReference
(String workflowId, long workflowRunId)
maestro-engine/src/main/java/com/netflix/maestro/engine/utils/RollupAggregationHelper.java:226
↓ 37 callers
Method
getSignalInstance
Get a specific signal instance. @param signalName the step runtime summary @param signalId the signal id @return the corresponding signal instance
maestro-engine/src/main/java/com/netflix/maestro/engine/handlers/SignalHandler.java:52
↓ 37 callers
Method
jjStopAtPos
(int pos, int kind)
netflix-sel/src/main/java/com/netflix/sel/ast/SelParserTokenManager.java:122
↓ 37 callers
Method
referenceTaskName
()
maestro-flow/src/main/java/com/netflix/maestro/flow/models/Task.java:78
↓ 37 callers
Method
start
Logic to run when starting the maestro step runtime. <p>With the at-least-once guarantee, this method will run at the beginning of the life cycle of
maestro-engine/src/main/java/com/netflix/maestro/engine/steps/StepRuntime.java:130
↓ 37 callers
Method
visit
(SimpleNode node, Object data)
netflix-sel/src/main/java/com/netflix/sel/ast/SelParserVisitor.java:5
↓ 37 callers
Method
visitAndCheckLimit
()
netflix-sel/src/main/java/com/netflix/sel/visitor/SelParserEvaluationVisitor.java:650
↓ 36 callers
Method
parseStepParameter
Evaluate a step parameter, including sel or string interpolation. @param allStepOutputData parameter definitions from all step definitions in the wor
maestro-engine/src/main/java/com/netflix/maestro/engine/eval/ParamEvaluator.java:225
↓ 34 callers
Method
getSignalDependencies
Get signal step dependencies definition.
maestro-common/src/main/java/com/netflix/maestro/models/definition/Step.java:71
↓ 34 callers
Method
isFreshRun
check if this run request is a fresh run (i.e. not a restart).
maestro-engine/src/main/java/com/netflix/maestro/engine/execution/RunRequest.java:157
↓ 34 callers
Method
pop
()
netflix-sel/src/main/java/com/netflix/sel/visitor/SelVisitorState.java:75
↓ 33 callers
Method
cancel
(Flow flow, Task task)
maestro-flow/src/main/java/com/netflix/maestro/flow/runtime/FlowTask.java:17
↓ 33 callers
Method
getAction
(WorkflowSummary summary, String stepId)
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroStepInstanceActionDao.java:513
↓ 33 callers
Method
type
()
netflix-sel/src/main/java/com/netflix/sel/type/SelMap.java:94
↓ 32 callers
Method
asBoolean
get evaluated BOOLEAN type (Java Boolean type) param result. @return evaluated result.
maestro-common/src/main/java/com/netflix/maestro/models/parameter/Parameter.java:162
↓ 32 callers
Method
execute
(Flow flow, Task task)
maestro-flow/src/main/java/com/netflix/maestro/flow/runtime/FlowTask.java:15
↓ 32 callers
Method
popNode
()
netflix-sel/src/main/java/com/netflix/sel/ast/JJTSelParserState.java:49
↓ 31 callers
Method
asStringParam
get STRING type (Java String type) param. @return concrete parameter object.
maestro-common/src/main/java/com/netflix/maestro/models/parameter/Parameter.java:227
↓ 31 callers
Method
create
Static method to create a Tag object by its tag name. @param name tag name string @return a Tag object
maestro-common/src/main/java/com/netflix/maestro/models/definition/Tag.java:57
↓ 31 callers
Method
from
create {@link TimelineDetailsEvent} from {@link Details}.
maestro-common/src/main/java/com/netflix/maestro/models/timeline/TimelineDetailsEvent.java:88
↓ 31 callers
Method
generateMergedWorkflowParams
Generate merged workflow parameters. @param instance workflow instance including run properties @param request run request @return a map of parameter
maestro-engine/src/main/java/com/netflix/maestro/engine/params/ParamsManager.java:62
↓ 31 callers
Method
generateStepState
( StepInstance.Status status, Long startTime, Long endTime)
maestro-engine/src/test/java/com/netflix/maestro/engine/utils/AggregatedViewHelperTest.java:911
↓ 31 callers
Method
getInstance
(ResultSet rs)
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroStepInstanceDao.java:380
↓ 31 callers
Method
getJobTemplate
Return job template schema {@link JobTemplate} for a job type and its version. @param jobType job template id, which is always same as step sub_type
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroJobTemplateDao.java:58
↓ 31 callers
Method
getName
get parameter name.
maestro-common/src/main/java/com/netflix/maestro/models/parameter/Parameter.java:43
↓ 31 callers
Method
getType
Get a maestro event type.
maestro-queue/src/main/java/com/netflix/maestro/queue/jobevents/MaestroJobEvent.java:48
↓ 31 callers
Method
twoItemMap
(String key1, T val1, String key2, T val2)
maestro-common/src/testFixtures/java/com/netflix/maestro/MaestroBaseTest.java:224
↓ 30 callers
Method
getIterationRank
Gets the iteration rank indicating the sequence of iteration1-iteration2... from the first inline workflow to the last inline workflow. For example, i
maestro-extensions/src/main/java/com/netflix/maestro/extensions/utils/ForeachFlatteningHelper.java:138
↓ 30 callers
Method
init
start up.
maestro-common/src/testFixtures/java/com/netflix/maestro/MaestroBaseTest.java:67
↓ 30 callers
Method
jjtAddChild
This method tells the node to add its argument to the node's list of children.
netflix-sel/src/main/java/com/netflix/sel/ast/Node.java:26
↓ 30 callers
Method
message
build message with arguments.
maestro-common/src/main/java/com/netflix/maestro/models/timeline/TimelineLogEvent.java:79
↓ 30 callers
Method
processJobEvent
Process a maestro job event by calling the actual job event processing based on the event type. @param jobEvent maestro job event to process
maestro-queue/src/main/java/com/netflix/maestro/queue/processors/MaestroJobEventDispatcher.java:38
↓ 30 callers
Method
send
Send a Maestro event to external topics. @param event Maestro event to send
maestro-engine/src/main/java/com/netflix/maestro/engine/publisher/MaestroNotificationPublisher.java:25
↓ 30 callers
Method
toString
()
netflix-sel/src/main/java/com/netflix/sel/type/SelMap.java:160
↓ 29 callers
Method
clearNodeScope
(Node n)
netflix-sel/src/main/java/com/netflix/sel/ast/JJTSelParserState.java:67
↓ 29 callers
Method
encode
(Status stepInstanceStatus)
maestro-extensions/src/main/java/com/netflix/maestro/extensions/utils/StepInstanceStatusEncoder.java:25
↓ 29 callers
Method
runParams
build runParams.
maestro-engine/src/main/java/com/netflix/maestro/engine/db/StepAction.java:90
↓ 29 callers
Method
runWorkflowInstances
Create a list of new workflow instance runs (with run_id already set) in DB. It will skip if an instance id is duplicated and fail if the instance uui
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroWorkflowInstanceDao.java:507
↓ 29 callers
Method
singletonEnumMap
( StepInstance.Status status, T val)
maestro-common/src/testFixtures/java/com/netflix/maestro/MaestroBaseTest.java:204
↓ 28 callers
Method
apply
Apply operations on the prepared statement.
maestro-database/src/main/java/com/netflix/maestro/database/utils/StatementFunction.java:27
↓ 28 callers
Method
getWorkflowInstance
Get a workflow instance for a specific run. @param workflowId id of the workflow @param instanceId instance id @param runId run id @return the workfl
maestro-extensions/src/main/java/com/netflix/maestro/extensions/provider/MaestroClient.java:33
↓ 28 callers
Method
jjMoveStringLiteralDfa1_0
(long active0, long active1)
netflix-sel/src/main/java/com/netflix/sel/ast/SelParserTokenManager.java:237
↓ 28 callers
Method
of
Static creator for JSON.
maestro-common/src/main/java/com/netflix/maestro/models/instance/WorkflowStepStatusSummary.java:45
↓ 28 callers
Method
replace
Insert the message into the queue table to replace an existing message. @param message the current message to be replaced @param jobEvent the new mes
maestro-queue/src/main/java/com/netflix/maestro/queue/dao/MaestroQueueDao.java:210
↓ 27 callers
Method
getNextRetryDelay
Get next retry delay based on error and configured retry policy. @param status the step instance status @return the next retry delay in secs.
maestro-common/src/main/java/com/netflix/maestro/models/instance/StepInstance.java:215
↓ 27 callers
Method
isEmpty
()
maestro-common/src/test/java/com/netflix/maestro/validations/TimeZoneConstraintTest.java:53
↓ 27 callers
Method
jjCheckNAddStates
(int start, int end)
netflix-sel/src/main/java/com/netflix/sel/ast/SelParserTokenManager.java:1569
↓ 27 callers
Method
of
(Map<String, Object> input)
netflix-sel/src/main/java/com/netflix/sel/type/SelMap.java:37
↓ 27 callers
Method
setName
set parameter name.
maestro-common/src/main/java/com/netflix/maestro/models/parameter/Parameter.java:46
↓ 26 callers
Method
getType
get parameter type.
maestro-common/src/main/java/com/netflix/maestro/models/parameter/Parameter.java:55
↓ 26 callers
Method
scanStepIterations
Scans the stepIterations. @param workflowId @param workflowInstanceId @param workflowRunId @param stepId @param iterationRank @param limit @return
maestro-extensions/src/main/java/com/netflix/maestro/extensions/dao/MaestroForeachFlattenedDao.java:291
↓ 26 callers
Method
unbox
()
netflix-sel/src/main/java/com/netflix/sel/type/SelType.java:45
↓ 25 callers
Method
addTimeline
Add an event to the timeline if not identical to the latest event.
maestro-engine/src/main/java/com/netflix/maestro/engine/execution/StepRuntimeSummary.java:310
↓ 25 callers
Method
getOrDefault
Get value for a key from the map, which might be null. If absent, return default values.
maestro-common/src/main/java/com/netflix/maestro/utils/MapHelper.java:48
↓ 25 callers
Method
incrementByStatus
increment corresponding retry count based on status.
maestro-common/src/main/java/com/netflix/maestro/models/instance/StepInstance.java:194
↓ 25 callers
Method
isCollectionEmptyOrNull
Return true if the collection is null or empty.
maestro-common/src/main/java/com/netflix/maestro/utils/ObjectHelper.java:39
↓ 25 callers
Method
restartDirectly
Directly restart a step without going to its ancestors.
maestro-engine/src/main/java/com/netflix/maestro/engine/handlers/StepInstanceActionHandler.java:115
↓ 25 callers
Method
setAncestors
setter with a validation check.
maestro-common/src/main/java/com/netflix/maestro/models/initiator/UpstreamInitiator.java:44
↓ 25 callers
Method
updateWorkflowProperties
Update the workflow properties posted by users. <p>Note: if no wf exists, cannot push properties. @param workflowId workflow id @param props propert
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroWorkflowDao.java:329
↓ 24 callers
Method
getChild
(String ref)
maestro-flow/src/main/java/com/netflix/maestro/flow/actor/BaseActor.java:129
↓ 24 callers
Method
getRunPolicy
()
maestro-engine/src/main/java/com/netflix/maestro/engine/eval/InstanceWrapper.java:99
↓ 24 callers
Method
getTimelineEvent
Get a timeline info with initiator identity.
maestro-common/src/main/java/com/netflix/maestro/models/initiator/Initiator.java:82
↓ 24 callers
Method
getTimeoutWithParamInMillis
Parse the ParsableLong value (default in seconds) for timeout and returns duration in milliseconds.
maestro-common/src/main/java/com/netflix/maestro/utils/DurationParser.java:76
↓ 24 callers
Method
loadRuntimeParams
Load runtime parameters based on the step type and its subtype. @return a collection of runtime generated parameters to inject @param workflowSummary
maestro-engine/src/main/java/com/netflix/maestro/engine/templates/JobTemplateManager.java:76
← previous
next →
101–200 of 5,171, ranked by callers