MCPcopy Create free account

hub / github.com/temporalio/temporal / functions

Functions43,335 in github.com/temporalio/temporal

↓ 4 callersFunctionNewMutableRateBurst
( rate float64, burst int, )
common/quotas/rate_burst.go:141
↓ 4 callersFunctionNewNamespaceRateLimitInterceptor
( namespaceRegistry namespace.Registry, rateLimiter quotas.RequestRateLimiter, tokens map[string]int, poll
common/rpc/interceptor/namespace_rate_limit.go:53
↓ 4 callersFunctionNewNexusEndpointProcessor
NewNexusEndpointProcessor creates a new NexusEndpointProcessor.
chasm/nexus_operation_processor.go:167
↓ 4 callersFunctionNewProgressCache
( config *configs.Config, logger log.Logger, handler metrics.Handler, )
service/history/replication/progress_cache.go:51
↓ 4 callersFunctionNewProtoTaskBlobEncoder
NewProtoTaskBlobEncoder returns a TaskBlobEncoder that uses a TaskBlobProtoDeserializer to deserialize the blob.
tools/tdbg/task_encoder.go:55
↓ 4 callersMethodNewQueue
(queueType QueueType)
common/persistence/persistence_interface.go:45
↓ 4 callersFunctionNewRegistry
NewRegistry creates a new instance of Registry for accessing and caching namespace information to reduce the load on persistence.
common/namespace/nsregistry/registry.go:152
↓ 4 callersFunctionNewRemoteGate
NewRemoteGate create a new timer gate instance
common/timer/remote_gate.go:31
↓ 4 callersFunctionNewRequestErrorHandler
NewRequestErrorHandler creates a new RequestErrorHandler
common/rpc/interceptor/request_error_handler.go:44
↓ 4 callersFunctionNewRetryableClient
NewRetryableClient creates a new instance of historyservice.HistoryServiceClient with retry policy
client/history/retryable_client.go:20
↓ 4 callersFunctionNewSQLQueryConverter
(pluginName string)
common/persistence/visibility/store/sql/query_converter.go:78
↓ 4 callersFunctionNewSequentialTaskQueueWithID
(id any)
service/history/replication/sequential_queue.go:31
↓ 4 callersFunctionNewServerMetricsContextInjectorInterceptor
NewServerMetricsContextInjectorInterceptor returns grpc server interceptor that adds metrics context to golang context.
common/metrics/grpc.go:34
↓ 4 callersFunctionNewService
(app *fx.App, serviceName primitives.ServiceName, logger log.Logger)
temporal/fx.go:488
↓ 4 callersMethodNewShardStore
NewShardStore returns a new shard store
common/persistence/sql/factory.go:90
↓ 4 callersFunctionNewTLSConfig
(temporalTls *TLS)
common/auth/tls_config_helper.go:82
↓ 4 callersFunctionNewTaskQueueFloatSetting
(key string, def float64, description string)
common/dynamicconfig/setting_gen.go:351
↓ 4 callersFunctionNewTaskTypeDurationSetting
(key string, def time.Duration, description string)
common/dynamicconfig/setting_gen.go:657
↓ 4 callersFunctionNewTestDataConverter
TODO (alex): use it by default SdkCleint everywhere?
tests/testcore/test_data_converter.go:25
↓ 4 callersFunctionNewTestHooks
()
common/testing/testhooks/test_impl.go:32
↓ 4 callersFunctionNewTransactionManager
( shardContext historyi.ShardContext, workflowCache wcache.Cache, eventsReapplier EventsReapplier, logger
service/history/ndc/transaction_manager.go:152
↓ 4 callersFunctionNewTwoStepCircuitBreakerWithDynamicSettings
Caller must call UpdateSettings once before using this object.
common/circuitbreaker/circuitbreaker.go:44
↓ 4 callersFunctionNewXDCCacheKey
( workflowKey definition.WorkflowKey, minEventID int64, version int64, )
common/persistence/xdc_cache.go:51
↓ 4 callersFunctionNotifyNewHistorySnapshotEvent
( engine historyi.Engine, workflowSnapshot *persistence.WorkflowSnapshot, )
service/history/workflow/transaction_impl.go:623
↓ 4 callersFunctionParseExecutionDurationStr
(durationStr string)
common/persistence/visibility/store/query/util.go:137
↓ 4 callersMethodPartialRefresh
PartialRefresh refresh tasks for all sub state machines that have been updated since the given minVersionedTransition (inclusive). If a sub state mach
service/history/workflow/task_refresher.go:37
↓ 4 callersMethodPatch
Patch applies a patch to the schedule for PatchSchedule requests.
chasm/lib/scheduler/scheduler.go:881
↓ 4 callersFunctionPollComponent
PollComponent waits until the predicate is true when evaluated against the component identified by the supplied component reference. If this times out
chasm/engine.go:376
↓ 4 callersMethodPollForTasksEmptyResultTest
(callContext context.Context, taskType enumspb.TaskQueueType)
service/matching/matching_engine_test.go:384
↓ 4 callersMethodPollNexusOperation
(ctx context.Context, in *PollNexusOperationRequest, opts ...grpc.CallOption)
chasm/lib/nexusoperation/gen/nexusoperationpb/v1/service_grpc.pb.go:40
↓ 4 callersMethodPopAll
()
common/collection/sync_map.go:71
↓ 4 callersMethodPrintHistoryEvents
(events []*historypb.HistoryEvent)
common/testing/historyrequire/history_require.go:251
↓ 4 callersFunctionProtoElementsMatch
ProtoElementsMatch behaves like require.ElementsMatch except in that it works for protobuf-generated structs. Both arguments must be slices or arrays.
common/testing/protorequire/require.go:91
↓ 4 callersFunctionProtoSliceEqual
ProtoSliceEqual compares elements in a slice of proto.Message. This is not a method on the suite type because methods cannot have generic parameters a
common/testing/protoassert/assert.go:51
↓ 4 callersMethodPurge
(ctx context.Context, lastMessageID int64)
common/namespace/nsreplication/dlq_message_handler.go:19
↓ 4 callersMethodPutIfNotExist
PutIfNotExist records the mapping, if there is no mapping for this key already Returns true if the mapping was recorded, false otherwise
common/collection/concurrent_tx_map.go:98
↓ 4 callersMethodPutOrDo
PutOrDo put the key value in the map, if key does not exists, otherwise, call fn with existing key and value return (value, fn evaluated or not, error
common/collection/interface.go:46
↓ 4 callersFunctionQueryID
QueryID returns tag for QueryID
common/log/tag/tags.go:176
↓ 4 callersMethodQueueStateEqual
( this *persistencespb.QueueState, that *persistencespb.QueueState, )
service/history/queues/queue_base_test.go:638
↓ 4 callersMethodQueueStateFromBlob
(data *commonpb.DataBlob)
common/persistence/serialization/serializer.go:103
↓ 4 callersMethodQueueStateToBlob
(info *persistencespb.QueueState)
common/persistence/serialization/serializer.go:66
↓ 4 callersMethodRangeDeleteFromMessages
(ctx context.Context, filter QueueMessagesRangeFilter)
common/persistence/sql/sqlplugin/queue_message.go:38
↓ 4 callersMethodRecordActivityTaskHeartbeatById
( ctx context.Context, request *workflowservice.RecordActivityTaskHeartbeatByIdRequest, opts ...grpc.CallOp
client/frontend/client_gen.go:692
↓ 4 callersMethodRecordTaskAdd
RecordTaskAdd records the outcome of a task add to this physical queue using the queue's tagged metrics handler, so all per-physical-queue labels are
service/matching/physical_task_queue_manager_interface.go:76
↓ 4 callersFunctionReduceExprs
( reduceFunc func(left, right sqlparser.Expr) sqlparser.Expr, exprs ...sqlparser.Expr, )
common/persistence/visibility/store/query/util.go:153
↓ 4 callersMethodRefreshExpirationTimeoutTask
(ctx context.Context)
service/history/interfaces/mutable_state.go:302
↓ 4 callersMethodRefreshReceiverFlowControlInfo
(syncState *replicationspb.SyncReplicationState)
service/history/replication/stream_sender_flow_controller.go:29
↓ 4 callersFunctionRefreshTasksForWorkflowStart
( ctx context.Context, mutableState historyi.MutableState, taskGenerator TaskGenerator, minVersionedTransi
service/history/workflow/task_refresher.go:215
↓ 4 callersMethodRegisterActivities
RegisterActivities registers remote Activity types provided by this worker component. Local Activities should be registered in RegisterWorkflow
service/worker/common/interface.go:21
↓ 4 callersFunctionRegisterImmediateExecutor
RegisterImmediateExecutor registers an [ImmediateExecutor] for the given task type. Returns an [ErrDuplicateRegistration] if an executor for the type
service/history/hsm/registry.go:95
↓ 4 callersFunctionRegisterPlugin
RegisterPlugin will register a SQL plugin
common/persistence/sql/store.go:21
↓ 4 callersMethodRegisterServiceProcessor
RegisterServiceProcessor adds a service-level processor to the endpoint keyed by its name. Returns an error if a processor with the same name is alrea
chasm/nexus_operation_processor.go:175
↓ 4 callersFunctionRegisterStateMachine
(r *hsm.Registry)
components/dummy/statemachine.go:73
↓ 4 callersFunctionRegisterTaskSerializers
(reg *hsm.Registry)
components/dummy/tasks.go:92
↓ 4 callersMethodRemoveIf
RemoveIf deletes the given key from the map if fn return true return whether the key is removed or not
common/collection/interface.go:49
↓ 4 callersMethodReplaceCustomMemo
ReplaceCustomMemo replaces the existing custom memo fields with the provided ones. If `customMemo` is empty, the underlying memo node is deleted.
chasm/visibility.go:313
↓ 4 callersMethodReplicationTaskInfoToBlob
(info *persistencespb.ReplicationTaskInfo)
common/persistence/serialization/serializer.go:62
↓ 4 callersMethodRequestCancelNexusOperation
(ctx context.Context, in *RequestCancelNexusOperationRequest, opts ...grpc.CallOption)
chasm/lib/nexusoperation/gen/nexusoperationpb/v1/service_grpc.pb.go:37
↓ 4 callersMethodRequestLinks
RequestLinks returns the links attached to the given component for the specific requestID. Returns nil if no entry exists for that requestID. Empty re
chasm/context.go:56
↓ 4 callersMethodReset
Reset cleans up all the internal states and reset to a brand new generator
common/testing/generator_interface.go:34
↓ 4 callersMethodRespondActivityTaskFailedById
( ctx context.Context, request *workflowservice.RespondActivityTaskFailedByIdRequest, opts ...grpc.CallOpti
client/frontend/client_gen.go:842
↓ 4 callersMethodRoute
(p tqid.Partition)
client/matching/interface.go:6
↓ 4 callersFunctionSanitizeMutableState
( workflowMutableState *persistencespb.WorkflowMutableState, )
service/history/workflow/mutable_state_util.go:35
↓ 4 callersFunctionSanitizeStateMachineNode
( node *persistencespb.StateMachineNode, )
service/history/workflow/mutable_state_util.go:81
↓ 4 callersMethodScaleFactor
()
service/history/shard/ownership_based_quota_scaler.go:12
↓ 4 callersMethodSelectFromBufferedEvents
(ctx context.Context, filter BufferedEventsFilter)
common/persistence/sql/sqlplugin/history_buffer.go:33
↓ 4 callersMethodSelectFromHistoryTree
(ctx context.Context, filter HistoryTreeSelectFilter)
common/persistence/sql/sqlplugin/history_tree.go:46
↓ 4 callersMethodSelectFromTasks
SelectFromTasks retrieves one or more rows from the tasks table Required filter params - {namespaceID, taskqueueName, taskType, inclusiveMinTaskID, ex
common/persistence/sql/sqlplugin/matching_task_v1.go:34
↓ 4 callersMethodSerializeEvent
(event *historypb.HistoryEvent)
common/persistence/serialization/serializer.go:36
↓ 4 callersFunctionSetActivityTaskRunID
( ctx context.Context, token *tokenspb.Task, workflowConsistencyChecker WorkflowConsistencyChecker, )
service/history/api/activity_util.go:14
↓ 4 callersMethodSetBaseWorkflow
( baseRunID string, baseRunLowestCommonAncestorEventID int64, baseRunLowestCommonAncestorEventVersion
service/history/interfaces/mutable_state.go:288
↓ 4 callersFunctionSetDefaultWorkflowIDPolicies
SetDefaultWorkflowIDPolicies migrates and applies defaults to both Workflow ID policies.
common/enums/defaults.go:14
↓ 4 callersMethodSetHttpClient
(httpClient *http.Client)
common/persistence/visibility/store/elasticsearch/client/config.go:84
↓ 4 callersMethodSetIfNotReady
Sets the value of the future, if it has not been set already. Returns true if this call set the value.
common/future/future_impl.go:87
↓ 4 callersMethodSetOnGetClaims
(fn func(*authorization.AuthInfo) (*authorization.Claims, error))
tests/testcore/test_env.go:395
↓ 4 callersMethodSetRampingVersion
( ctx context.Context, namespaceEntry *namespace.Namespace, deploymentName string, version string, p
service/worker/workerdeployment/client.go:118
↓ 4 callersMethodSetVisibilityEnabledByDefault
SetVisibilityEnabledByDefault sets the default visibility archival config to be enabled.
common/archiver/metadata_mock.go:17
↓ 4 callersMethodSetWorkflowTaskStartToCloseTimeoutTask
(task *tasks.WorkflowTaskTimeoutTask)
service/history/interfaces/mutable_state.go:334
↓ 4 callersMethodSetupTestDatabase
()
common/persistence/persistence-tests/persistence_test_base.go:112
↓ 4 callersFunctionShallowCopyClusterInformation
ShallowCopyClusterInformation returns a shallow copy of the given ClusterInformation. The [ClusterInformation.Tags] field is not deep-copied, so you m
common/cluster/metadata.go:597
↓ 4 callersMethodShardID
ShardID returns the target shard ID for this routing key given the total number of shards.
chasm/nexus_operation_processor.go:32
↓ 4 callersMethodShardInfoToBlob
(info *persistencespb.ShardInfo)
common/persistence/serialization/serializer.go:38
↓ 4 callersMethodShrinkSlices
()
service/history/queues/reader.go:35
↓ 4 callersMethodSize
Size returns the size of the object, in bytes, once serialized
api/persistence/v1/update.go-helpers.pb.go:130
↓ 4 callersFunctionSnakeCaseToPascalCase
(s string)
cmd/tools/codegen/helpers.go:83
↓ 4 callersFunctionSourceClusterTag
SourceClusterTag returns a new source cluster tag.
common/metrics/tags.go:146
↓ 4 callersFunctionSourceShardID
(shardID int32)
common/log/tag/tags.go:786
↓ 4 callersMethodStart
()
common/dynamicconfig/collection.go:127
↓ 4 callersMethodStartNexusOperationExecution
(context.Context, *workflowservice.StartNexusOperationExecutionRequest)
chasm/lib/nexusoperation/frontend.go:24
↓ 4 callersMethodStartScaleManager
StartScaleManager is called by backlog manager after it's loaded metadata from the default queue. (New matcher only.)
service/matching/physical_task_queue_manager_interface.go:23
↓ 4 callersFunctionStateMachineTask
(smRegistry *hsm.Registry, task tasks.Task)
service/history/outbound_queue_factory.go:320
↓ 4 callersMethodStaticClusterState
()
common/archiver/archival_metadata.go:29
↓ 4 callersMethodStickyName
()
common/tqid/task_queue_id.go:280
↓ 4 callersMethodStop
()
common/goro/example_group_test.go:21
↓ 4 callersMethodStopBatchOperation
( ctx context.Context, request *workflowservice.StopBatchOperationRequest, )
service/frontend/workflow_handler.go:5823
↓ 4 callersFunctionStringSliceToSet
( inputs []string, )
common/convert/convert.go:71
↓ 4 callersMethodSwap
implements heap.Interface, do not call directly
service/matching/matcher_data.go:97
↓ 4 callersMethodTake
Take finds a value in this set by its key and removes it, returning the value.
common/collection/indexedtakelist.go:35
↓ 4 callersFunctionTargetShardID
(shardID int32)
common/log/tag/tags.go:790
↓ 4 callersFunctionTaskType
(taskType enumsspb.TaskType)
common/log/tag/tags.go:636
← previousnext →5,001–5,100 of 43,335, ranked by callers