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
↓ 1,458 callers
Method
get
()
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroWorkflowDao.java:402
↓ 728 callers
Method
put
()
netflix-sel/src/test/java/com/netflix/sel/visitor/SelVisitorStateTest.java:106
↓ 667 callers
Method
build
Build a workflow graph for the given workflow definition. @param workflow source workflow definition @param runtimeDag runtime dag to include all ste
maestro-engine/src/main/java/com/netflix/maestro/engine/transformation/WorkflowGraph.java:127
↓ 665 callers
Method
size
Return the size of instances to terminate.
maestro-queue/src/main/java/com/netflix/maestro/queue/jobevents/TerminateThenRunJobEvent.java:75
↓ 458 callers
Method
getValue
get parameter value.
maestro-common/src/main/java/com/netflix/maestro/models/parameter/Parameter.java:49
↓ 431 callers
Method
getWorkflowId
get the associated workflow id.
maestro-common/src/main/java/com/netflix/maestro/models/events/MaestroEvent.java:59
↓ 406 callers
Method
singletonMap
(String key, T val)
maestro-common/src/testFixtures/java/com/netflix/maestro/MaestroBaseTest.java:218
↓ 403 callers
Method
name
log friendly name for logging.
maestro-flow/src/main/java/com/netflix/maestro/flow/actor/BaseActor.java:90
↓ 395 callers
Method
info
static method to generate an info level {@link TimelineLogEvent}.
maestro-common/src/main/java/com/netflix/maestro/models/timeline/TimelineLogEvent.java:104
↓ 381 callers
Method
type
()
netflix-sel/src/main/java/com/netflix/sel/type/SelType.java:41
↓ 351 callers
Method
build
()
maestro-common/src/main/java/com/netflix/maestro/models/definition/User.java:65
↓ 347 callers
Method
assertThrows
Utility method to assert an exception.
maestro-common/src/testFixtures/java/com/netflix/maestro/AssertHelper.java:24
↓ 346 callers
Method
getWorkflowInstanceId
(ResultSet rs)
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroStepInstanceDao.java:412
↓ 338 callers
Method
of
(String s)
netflix-sel/src/main/java/com/netflix/sel/type/SelString.java:30
↓ 299 callers
Method
isEmpty
If there is any change event.
maestro-common/src/main/java/com/netflix/maestro/models/timeline/Timeline.java:102
↓ 284 callers
Method
toString
()
netflix-sel/src/main/java/com/netflix/sel/type/SelType.java:62
↓ 277 callers
Method
of
Static constructor.
maestro-common/src/main/java/com/netflix/maestro/models/Constants.java:196
↓ 260 callers
Method
loadObject
(String fileName, Class<T> clazz)
maestro-dsl/src/test/java/com/netflix/maestro/dsl/BaseTest.java:15
↓ 250 callers
Method
call
(String methodName, SelType[] args)
netflix-sel/src/main/java/com/netflix/sel/type/SelType.java:33
↓ 237 callers
Method
getWorkflowRunId
(ResultSet rs)
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroStepInstanceDao.java:395
↓ 227 callers
Method
getMessage
Get short timeline message.
maestro-common/src/main/java/com/netflix/maestro/models/timeline/TimelineEvent.java:41
↓ 205 callers
Method
getParams
Get step parameter definition.
maestro-common/src/main/java/com/netflix/maestro/models/definition/Step.java:45
↓ 195 callers
Method
of
(State state)
maestro-engine/src/main/java/com/netflix/maestro/engine/steps/StepRuntime.java:67
↓ 184 callers
Method
add
Add fields to jobParams.
maestro-dsl/src/main/java/com/netflix/maestro/dsl/jobs/BaseJob.java:51
↓ 181 callers
Method
validate
Validation at initialization.
maestro-common/src/main/java/com/netflix/maestro/models/parameter/Parameter.java:80
↓ 163 callers
Method
getIdentity
()
maestro-engine/src/main/java/com/netflix/maestro/engine/execution/WorkflowSummary.java:117
↓ 156 callers
Method
loadObject
(String fileName, Class<T> clazz)
maestro-common/src/testFixtures/java/com/netflix/maestro/MaestroBaseTest.java:86
↓ 156 callers
Method
put
(String key, SelType obj)
netflix-sel/src/main/java/com/netflix/sel/visitor/SelVisitorState.java:110
↓ 151 callers
Method
of
Static method to create a new ParsableLong from a long value.
maestro-common/src/main/java/com/netflix/maestro/models/definition/ParsableLong.java:57
↓ 148 callers
Method
asMapParam
get MAP type (Java Map<String, Parameter> type) param. <p>It supports nested structure and thus parameter values in the map can be another MAP type.
maestro-common/src/main/java/com/netflix/maestro/models/parameter/Parameter.java:319
↓ 147 callers
Method
getEvaluatedParam
get evaluated parameter inside the map.
maestro-common/src/main/java/com/netflix/maestro/models/parameter/MapParameter.java:212
↓ 142 callers
Method
getEvaluatedResult
get parameter evaluated result.
maestro-common/src/main/java/com/netflix/maestro/models/parameter/Parameter.java:64
↓ 139 callers
Method
buildParamDefinition
Build parameter for boolean array.
maestro-common/src/main/java/com/netflix/maestro/models/parameter/ParamDefinition.java:111
↓ 134 callers
Method
checkTrue
Check if the condition is true. If not, throw an IllegalArgumentException. @param condition boolean condition to check @param template error message
maestro-common/src/main/java/com/netflix/maestro/utils/Checks.java:31
↓ 134 callers
Method
equals
(Object obj)
maestro-common/src/main/java/com/netflix/maestro/models/instance/WorkflowRollupOverview.java:68
↓ 128 callers
Method
getId
Get job id.
maestro-dsl/src/main/java/com/netflix/maestro/dsl/jobs/Job.java:17
↓ 125 callers
Method
getName
Get step name. Could be absent by the user. Step id can be used when name is not provided - use StepHelper for that.
maestro-common/src/main/java/com/netflix/maestro/models/definition/Step.java:39
↓ 117 callers
Method
getStepId
(ResultSet rs)
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroStepInstanceDao.java:407
↓ 117 callers
Method
getToken
Get the specific Token.
netflix-sel/src/main/java/com/netflix/sel/ast/SelParser.java:3616
↓ 116 callers
Method
jj_consume_token
(int kind)
netflix-sel/src/main/java/com/netflix/sel/ast/SelParser.java:3553
↓ 115 callers
Method
getRuntimeState
(ResultSet rs)
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroStepInstanceDao.java:387
↓ 113 callers
Method
enqueue
Insert the message into the queue table. The queue table itself does not provide a deduplication key. The caller should not use the queue as a mechani
maestro-queue/src/main/java/com/netflix/maestro/queue/dao/MaestroQueueDao.java:115
↓ 113 callers
Method
of
(String s)
netflix-sel/src/main/java/com/netflix/sel/type/SelLong.java:45
↓ 112 callers
Method
getType
Get callback type.
maestro-engine/src/main/java/com/netflix/maestro/engine/execution/StepRuntimeCallbackDelayPolicy.java:21
↓ 111 callers
Method
parseParamDefMap
(String json)
maestro-engine/src/test/java/com/netflix/maestro/engine/params/ParamsMergeHelperTest.java:87
↓ 108 callers
Method
process
Process the result set.
maestro-database/src/main/java/com/netflix/maestro/database/utils/ResultProcessor.java:27
↓ 107 callers
Method
key
()
maestro-common/src/main/java/com/netflix/maestro/models/artifact/Artifact.java:72
↓ 106 callers
Method
withMetricLogError
A wrapper class to wrap the common logic for try ... catch... @param supplier a provided wrapped function, it may throw runtime exceptions @param met
maestro-database/src/main/java/com/netflix/maestro/database/AbstractDatabaseDao.java:227
↓ 102 callers
Method
getArtifacts
(ResultSet rs)
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroStepInstanceDao.java:424
↓ 99 callers
Method
remove
Delete the message after it is completed. @param message message to delete
maestro-queue/src/main/java/com/netflix/maestro/queue/dao/MaestroQueueDao.java:147
↓ 98 callers
Method
currentPolicy
Builder for currentPolicy transformed from RestartPolicy .
maestro-engine/src/main/java/com/netflix/maestro/engine/execution/RunRequest.java:206
↓ 97 callers
Method
notify
Notify the queue system that a message is available for processing. It will be added to the shared queue of the workers. @param message the message t
maestro-queue/src/main/java/com/netflix/maestro/queue/MaestroQueueSystem.java:132
↓ 95 callers
Method
counter
Increment a counter with a given name for class and tags. @param name metric name @param clazz class info to add it to a tag @param tags other tags t
maestro-common/src/main/java/com/netflix/maestro/metrics/MaestroMetrics.java:25
↓ 92 callers
Method
getLong
Gets the long value of the ParsableLong. @throws NullPointerException if the ParsableLong is not a long.
maestro-common/src/main/java/com/netflix/maestro/models/definition/ParsableLong.java:94
↓ 89 callers
Method
terminate
logic to run when a running step is terminated by the workflow, which is entering a terminal state. It will be called by workflow engine instead of by
maestro-engine/src/main/java/com/netflix/maestro/engine/steps/StepRuntime.java:178
↓ 86 callers
Method
getString
Gets the String value of the SignalParamValue. Caller should check that isLong() is false first.
maestro-common/src/main/java/com/netflix/maestro/models/signal/SignalParamValue.java:66
↓ 84 callers
Method
create
Static method to create an owner by a username string. @param name user name string @return the owner object
maestro-common/src/main/java/com/netflix/maestro/models/definition/User.java:60
↓ 82 callers
Method
addRestartNode
add a restart node to restart path.
maestro-common/src/main/java/com/netflix/maestro/models/instance/RestartConfig.java:108
↓ 81 callers
Method
getTags
Get step tags.
maestro-common/src/main/java/com/netflix/maestro/models/definition/Step.java:48
↓ 80 callers
Method
notNull
Check if the input is not null. If null, throw a {@link NullPointerException}. @param input input object to check @param template error message templ
maestro-common/src/main/java/com/netflix/maestro/utils/Checks.java:60
↓ 80 callers
Method
warn
static method to generate a warn level {@link TimelineLogEvent}.
maestro-common/src/main/java/com/netflix/maestro/models/timeline/TimelineLogEvent.java:110
↓ 78 callers
Method
getTimeline
(ResultSet rs)
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroStepInstanceDao.java:436
↓ 76 callers
Method
closeNodeScope
(Node n, int num)
netflix-sel/src/main/java/com/netflix/sel/ast/JJTSelParserState.java:84
↓ 76 callers
Method
jjtSetLastToken
(Token token)
netflix-sel/src/main/java/com/netflix/sel/ast/SimpleNode.java:75
↓ 76 callers
Method
of
Static method to create a new SignalParamValue from a long value.
maestro-common/src/main/java/com/netflix/maestro/models/signal/SignalParamValue.java:43
↓ 75 callers
Method
assertThat
(Object actual)
maestro-extensions/src/test/java/com/netflix/maestro/extensions/listeners/SqsMaestroEventListenerTest.java:126
↓ 75 callers
Method
debug
static method to generate a debug level {@link TimelineLogEvent}.
maestro-common/src/main/java/com/netflix/maestro/models/timeline/TimelineLogEvent.java:98
↓ 75 callers
Method
mergeParams
Merge paramsToMerge into params. @param params params @param paramsToMerge params to merge @param context Merge context
maestro-engine/src/main/java/com/netflix/maestro/engine/params/ParamsMergeHelper.java:167
↓ 74 callers
Method
getMetadata
Get the metadata of the step context.
maestro-kubernetes/src/main/java/com/netflix/maestro/engine/kubernetes/KubernetesStepContext.java:59
↓ 73 callers
Method
getExpression
get parameter expression.
maestro-common/src/main/java/com/netflix/maestro/models/parameter/Parameter.java:52
↓ 72 callers
Method
create
Static method to create a RunStrategy by a rule. @param rule run strategy rule in a string @return a RunStrategy object
maestro-common/src/main/java/com/netflix/maestro/models/definition/RunStrategy.java:118
↓ 70 callers
Method
getWorkflowInstanceStatus
Get the status of a specific workflow instance run. @param workflowId workflow id @param workflowInstanceId workflow instance id @param workflowRunId
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroWorkflowInstanceDao.java:1088
↓ 69 callers
Method
jj_scan_token
(int kind)
netflix-sel/src/main/java/com/netflix/sel/ast/SelParser.java:3582
↓ 68 callers
Method
getWorkflowDefinition
Get a workflow definition for a specific version. @param workflowId id of the workflow @param version version string @return the workflow definition
maestro-extensions/src/main/java/com/netflix/maestro/extensions/provider/MaestroClient.java:42
↓ 67 callers
Method
wakeUp
Wake up a single task in a flow for a group. @param groupId group id to group flow instances @param flowReference reference is what the caller would
maestro-flow/src/main/java/com/netflix/maestro/flow/runtime/FlowOperation.java:60
↓ 66 callers
Method
getInternalVal
()
netflix-sel/src/main/java/com/netflix/sel/type/SelType.java:20
↓ 65 callers
Method
getMode
get parameter mode.
maestro-common/src/main/java/com/netflix/maestro/models/parameter/Parameter.java:58
↓ 64 callers
Method
startWithRunStrategy
This run strategy logic is called at receiving a {@link RunRequest} request. As FIRST_ONLY and LAST_ONLY do not support queueing, both will directly e
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroRunStrategyDao.java:606
↓ 63 callers
Method
getLatestWorkflowInstanceRun
Get the instance data of the latest workflow instance run for a specific workflow instance, including the summary of its step instances. @param workf
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroWorkflowInstanceDao.java:879
↓ 63 callers
Method
getWorkflowInstanceRun
Get the instance data of a specific workflow instance run, including the summary of its step instances. @param workflowId workflow id @param instance
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroWorkflowInstanceDao.java:803
↓ 61 callers
Method
equals
(Object obj)
netflix-sel/src/main/java/com/netflix/sel/type/SelString.java:312
↓ 60 callers
Method
runForAction
(Action action)
maestro-flow/src/main/java/com/netflix/maestro/flow/actor/BaseActor.java:81
↓ 59 callers
Method
buildParam
Build parameter for boolean array.
maestro-common/src/testFixtures/java/com/netflix/maestro/MaestroBaseTest.java:115
↓ 59 callers
Method
removeWorkflowInstance
( DataSource dataSource, String workflowId, long workflowInstanceId)
maestro-engine/src/testFixtures/java/com/netflix/maestro/engine/MaestroTestHelper.java:94
↓ 59 callers
Method
withRetryableQuery
Initialize a new transactional {@link Connection} PreparedStatement {@link PreparedStatement} from {@link #dataSource} and pass it to {@literal statem
maestro-database/src/main/java/com/netflix/maestro/database/AbstractDatabaseDao.java:257
↓ 58 callers
Method
getCounter
For testing purpose.
maestro-engine/src/main/java/com/netflix/maestro/engine/metrics/MaestroMetricRepo.java:73
↓ 58 callers
Method
getRunStrategy
Get the current run strategy from maestro_workflow table.
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroWorkflowDao.java:911
↓ 58 callers
Method
setParams
set and wrap params.
maestro-engine/src/main/java/com/netflix/maestro/engine/execution/WorkflowSummary.java:103
↓ 56 callers
Method
toJson
Convert the object to the JSON string. @param value the object value @return serialized string
maestro-database/src/main/java/com/netflix/maestro/database/AbstractDatabaseDao.java:166
↓ 55 callers
Method
binaryOps
(SelOp op, SelType rhs)
netflix-sel/src/main/java/com/netflix/sel/type/SelType.java:29
↓ 54 callers
Method
getStepAttemptId
(ResultSet rs)
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroStepInstanceDao.java:401
↓ 54 callers
Method
reset
For testing purpose.
maestro-engine/src/main/java/com/netflix/maestro/engine/metrics/MaestroMetricRepo.java:52
↓ 53 callers
Method
asString
get evaluated STRING type (Java String type) param result. @return evaluated result.
maestro-common/src/main/java/com/netflix/maestro/models/parameter/Parameter.java:135
↓ 53 callers
Method
asStringParamDef
get STRING type (Java String type) paramDefinition. @return concrete parameter definition object.
maestro-common/src/main/java/com/netflix/maestro/models/parameter/ParamDefinition.java:166
↓ 53 callers
Method
isTerminal
()
maestro-engine/src/main/java/com/netflix/maestro/engine/steps/StepRuntime.java:103
↓ 52 callers
Method
add
Add a new change event if it is not identical to the latest one. @param event the event to add @return true if timelineEvents is changed, otherwise f
maestro-common/src/main/java/com/netflix/maestro/models/timeline/Timeline.java:63
↓ 52 callers
Method
start
(Flow flow, Task task)
maestro-flow/src/main/java/com/netflix/maestro/flow/runtime/FlowTask.java:13
↓ 50 callers
Method
eval
evaluate a SEL expression. @param expr SEL expression in a string @param params Map of input parameter names and their values @return evaluated resul
maestro-engine/src/main/java/com/netflix/maestro/engine/eval/ExprEvaluator.java:81
↓ 50 callers
Method
getType
Get step type.
maestro-common/src/main/java/com/netflix/maestro/models/definition/Step.java:54
↓ 50 callers
Method
insertOrUpsertStepInstance
Create a new step instance data or update all of its data. Within the transaction, it also sends the job event to the update processing queue with an
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroStepInstanceDao.java:218
next →
1–100 of 5,171, ranked by callers