Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/temporalio/temporal
/ functions
Functions
43,335 in github.com/temporalio/temporal
⨍
Functions
43,335
◇
Types & classes
5,614
↓ 6 callers
Method
OnAfterCommit
(func(context.Context))
common/effect/controller.go:6
↓ 6 callers
Method
OnAfterRollback
(func(context.Context))
common/effect/controller.go:7
↓ 6 callers
Function
OrPredicates
(a Predicate, b Predicate)
service/history/tasks/predicates.go:357
↓ 6 callers
Method
OutboundTaskGroup
()
service/history/tasks/task.go:41
↓ 6 callers
Method
OverrideDynamicConfig
(setting dynamicconfig.GenericSetting, value any)
tests/testcore/functional_test_base.go:664
↓ 6 callers
Function
OverrideIsPinned
(override *workflowpb.VersioningOverride)
common/worker_versioning/worker_versioning.go:648
↓ 6 callers
Function
ParseDuration
ParseDuration is like time.ParseDuration, but supports unit "d" for days (always interpreted as exactly 24 hours).
common/primitives/timestamp/parse_duration.go:24
↓ 6 callers
Function
ParseValue
ParseValue returns a string, int64 or float64 if the parsing succeeds.
common/sqlquery/query.go:51
↓ 6 callers
Function
PartitionFromPartitionProto
(proto *taskqueuespb.TaskQueuePartition, namespaceId string)
common/tqid/task_queue_id.go:201
↓ 6 callers
Function
PathsByDir
PathsByDir returns a list of paths to directories within the schema subdirectory that have versioned schemas in them
schema/embed.go:21
↓ 6 callers
Method
Peek
Peek returns the first item of the queue
common/collection/interface.go:7
↓ 6 callers
Method
PollActivityTask
PollActivityTask creates an activity task poller that uses the given PollActivityTaskQueueRequest.
common/testing/taskpoller/taskpoller.go:284
↓ 6 callers
Method
PollMutableState
(ctx context.Context, request *historyservice.PollMutableStateRequest)
service/history/interfaces/engine.go:30
↓ 6 callers
Method
Precedence
()
common/dynamicconfig/setting.go:35
↓ 6 callers
Method
PruneClusterMembership
(ctx context.Context, request *PruneClusterMembershipRequest)
common/persistence/data_interfaces.go:1237
↓ 6 callers
Method
Put
Put records the given key value mapping. Overwrites previous values
common/collection/concurrent_tx_map.go:84
↓ 6 callers
Method
RandomPaginateRange
( createdTasks []tasks.Task, )
common/persistence/tests/execution_mutable_state_task.go:597
↓ 6 callers
Method
RangeID
RangeID returns the current persistence view of rangeID
service/matching/db.go:113
↓ 6 callers
Method
RangeSelectFromHistoryNode
(ctx context.Context, filter HistoryNodeSelectFilter)
common/persistence/sql/sqlplugin/history_node.go:51
↓ 6 callers
Method
ReadMessages
ReadMessages returns messages in order of increasing message ID.
common/persistence/persistence_interface.go:816
↓ 6 callers
Method
ReadMessagesFromDLQ
(ctx context.Context, firstMessageID int64, lastMessageID int64, pageSize int, pageToken []byte)
common/persistence/persistence_interface.go:180
↓ 6 callers
Method
RegenerateActivityRetryTask
(ai *persistencespb.ActivityInfo, newScheduledTime time.Time)
service/history/interfaces/mutable_state.go:154
↓ 6 callers
Function
RegisterServiceNameToServiceTypeEnum
RegisterServiceNameToServiceTypeEnum must be called from a static init().
common/membership/ringpop/monitor.go:465
↓ 6 callers
Function
RegisterWorkflowsAndActivities
(r worker.Registry)
temporaltest/server_test.go:403
↓ 6 callers
Method
ReplicateTaskQueueUserData
(ctx context.Context, request *matchingservice.ReplicateTaskQueueUserDataRequest)
service/matching/matching_engine_interfaces.go:36
↓ 6 callers
Method
ReplicateVersionedTransition
(ctx context.Context, archetypeID chasm.ArchetypeID, artifact *replicationspb.VersionedTransitionArtifact, sou
service/history/interfaces/engine.go:68
↓ 6 callers
Method
ReplicationPolicy
ReplicationPolicy return the derived workflow replication policy
common/namespace/namespace.go:263
↓ 6 callers
Method
Resolve
Resolve implementation should return list of addresses for the service (not necessary IP addresses but addresses that service dependency library accep
common/resolver/service_resolver.go:11
↓ 6 callers
Function
RunTool
RunTool runs the temporal-sql-tool command line tool
tools/sql/main.go:17
↓ 6 callers
Method
SearchAttributesMapper
SearchAttributesMapper returns the search attributes mapper for this component.
chasm/registrable_component.go:195
↓ 6 callers
Method
SelectFromNamespaceMetadata
(ctx context.Context)
common/persistence/sql/sqlplugin/namespace.go:51
↓ 6 callers
Method
SelectFromQueueMetadata
(ctx context.Context, filter QueueMetadataFilter)
common/persistence/sql/sqlplugin/queue_metadata.go:26
↓ 6 callers
Method
SetupSubTest
()
service/history/workflow/mutable_state_impl_test.go:223
↓ 6 callers
Method
SetupSuiteBase
SetupSuiteBase sets up the test suite
tools/common/schema/test/dbtest.go:65
↓ 6 callers
Function
SliceHead
SliceHead returns the first n elements of s. n may be greater than len(s).
common/util/util.go:45
↓ 6 callers
Function
SoftValidateURI
Only validates the scheme and buckets are passed
common/archiver/s3store/util.go:68
↓ 6 callers
Function
SortSlice
SortSlice sorts the given slice of an ordered type. Sort is not guaranteed to be stable.
common/util/util.go:40
↓ 6 callers
Function
SplitVersionHistoryByLastLocalGeneratedItem
( versionHistoryItems []*historyspb.VersionHistoryItem, initialFailoverVersion int64, failoverVersionIncrem
common/persistence/versionhistory/version_history.go:183
↓ 6 callers
Method
StateMachinePath
StateMachinePath gets the state machine path for from this reference.
service/history/hsm/executor.go:28
↓ 6 callers
Method
StateMachineState
()
chasm/statemachine.go:19
↓ 6 callers
Method
String
()
common/testing/testvars/any.go:27
↓ 6 callers
Method
SyncActivitiesState
( ctx context.Context, request *historyservice.SyncActivitiesRequest, )
service/history/ndc/activity_state_replicator.go:43
↓ 6 callers
Method
SyncActivityState
( ctx context.Context, request *historyservice.SyncActivityRequest, )
service/history/ndc/activity_state_replicator.go:39
↓ 6 callers
Method
SyncShardStatus
(ctx context.Context, request *historyservice.SyncShardStatusRequest)
service/history/interfaces/engine.go:69
↓ 6 callers
Function
TaskCategoryTag
(value string)
common/metrics/tags.go:274
↓ 6 callers
Method
TaskQueueMetricValidator
(capture *metricstest.Capture, familyCounterLength int, familyCounter float64, queueCounterLength int, queueCo
service/matching/matching_engine_test.go:3375
↓ 6 callers
Method
TearDownCluster
TearDownCluster tears down the test cluster
tests/testcore/test_cluster.go:551
↓ 6 callers
Method
TearDownSuiteBase
TearDownSuiteBase tears down the test suite
tools/common/schema/test/dbtest.go:78
↓ 6 callers
Method
TestBase
TODO (alex): remove this method. Replace usages with concrete methods.
tests/testcore/test_cluster.go:569
↓ 6 callers
Function
TokenLastEventID
TokenLastEventID returns tag for TokenLastEventID
common/log/tag/tags.go:770
↓ 6 callers
Method
TrySubmit
(task Runnable)
common/tasks/dynamic_worker_pool_scheduler.go:81
↓ 6 callers
Function
UUIDToString
( item any, )
common/persistence/nosql/nosqlplugin/cassandra/gocql/uuid.go:10
↓ 6 callers
Method
UnaryInterceptor
UnaryInterceptor returns a gRPC unary client interceptor that captures messages
tests/testcore/replication_stream_recorder.go:159
↓ 6 callers
Function
UnixMilliseconds
UnixMilliseconds returns t as a Unix time, the number of milliseconds elapsed since January 1, 1970 UTC. It should be used for all CQL timestamp.
common/persistence/data_interfaces.go:1406
↓ 6 callers
Method
UnlockHigh
UnlockHigh unlock with high priority, use LockHigh / UnlockHigh pair to lock / unlock
common/locks/priority_mutex.go:14
↓ 6 callers
Method
Unmarshal
Unmarshal an object of type GeneratorTask from the protobuf v3 wire format
chasm/lib/scheduler/gen/schedulerpb/v1/tasks.go-helpers.pb.go:88
↓ 6 callers
Method
Unmarshal
Unmarshal an object of type InvocationTask from the protobuf v3 wire format
chasm/lib/nexusoperation/gen/nexusoperationpb/v1/tasks.go-helpers.pb.go:125
↓ 6 callers
Method
Unmarshal
Unmarshal an object of type ActivityState from the protobuf v3 wire format
chasm/lib/activity/gen/activitypb/v1/activity_state.go-helpers.pb.go:16
↓ 6 callers
Method
UpdateReplicationQueueReaderState
(readerID int64, readerState *persistencespb.QueueReaderState)
service/history/interfaces/shard_context.go:71
↓ 6 callers
Method
UpdateSettings
( ds dynamicconfig.CircuitBreakerSettings, )
common/circuitbreaker/circuitbreaker.go:54
↓ 6 callers
Method
UpdateWorkerDeploymentVersionComputeConfig
( ctx context.Context, request *workflowservice.UpdateWorkerDeploymentVersionComputeConfigRequest, opts ...
client/frontend/client_gen.go:1172
↓ 6 callers
Method
UpsertClusterMembership
(ctx context.Context, request *UpsertClusterMembershipRequest)
common/persistence/data_interfaces.go:1236
↓ 6 callers
Function
Validate
Validate validates a retry policy
common/retrypolicy/retry_policy.go:59
↓ 6 callers
Function
ValidateAndNormalizeEmbeddedActivity
ValidateAndNormalizeEmbeddedActivity validates and normalizes the attributes for an embedded activity.
chasm/lib/activity/validator.go:51
↓ 6 callers
Method
ValidateNamespaceReplicationConfigForGlobalNamespace
( replicationConfig *persistencespb.NamespaceReplicationConfig, )
common/namespace/nsmanager/attr_validator.go:63
↓ 6 callers
Method
ValidateNamespaceReplicationConfigForLocalNamespace
( replicationConfig *persistencespb.NamespaceReplicationConfig, )
common/namespace/nsmanager/attr_validator.go:37
↓ 6 callers
Function
ValidateState
ValidateState returns a [consts.ErrStaleReference] if the machine is not in the expected state.
service/history/hsm/tasks.go:65
↓ 6 callers
Method
ValidateUpsertWorkflowSearchAttributes
( namespaceName namespace.Name, attributes *commandpb.UpsertWorkflowSearchAttributesCommandAttributes, )
service/history/api/command_attr_validator.go:345
↓ 6 callers
Function
VisibilityIndexNameTag
(value string)
common/metrics/tags.go:370
↓ 6 callers
Function
VisibilityPluginNameTag
(value string)
common/metrics/tags.go:363
↓ 6 callers
Function
WithBusinessIDAlias
WithBusinessIDAlias allows specifying the business ID alias of the component. This option must be specified if the archetype uses the Visibility compo
chasm/registrable_component.go:80
↓ 6 callers
Method
WithChasmMapper
( chasmMapper *chasm.VisibilitySearchAttributesMapper, )
common/persistence/visibility/store/query/converter.go:160
↓ 6 callers
Function
WorkflowBranchToken
history tree WorkflowBranchToken returns tag for WorkflowBranchToken
common/log/tag/tags.go:258
↓ 6 callers
Method
WorkflowExecutionStateFromBlob
(data *commonpb.DataBlob)
common/persistence/serialization/serializer.go:82
↓ 6 callers
Function
WorkflowHappensAfter
( thisLastWriteVersion int64, thisLastRunningClock int64, thatLastWriteVersion int64, thatLastRunningClock
service/history/ndc/workflow.go:306
↓ 6 callers
Function
WorkflowNewRunID
WorkflowNewRunID returns tag for WorkflowNewRunID
common/log/tag/tags.go:131
↓ 6 callers
Function
WorkflowNextEventID
WorkflowNextEventID returns tag for WorkflowNextEventID
common/log/tag/tags.go:236
↓ 6 callers
Method
Wrap
(delegate Executor)
service/history/queues/executable.go:70
↓ 6 callers
Method
WriteTaskToDLQ
(ctx context.Context, request DLQWriteRequest)
service/history/replication/dlq_writer.go:21
↓ 6 callers
Method
abort
abort set Update futures with error or failure (which is passed to all waiters) and set state to stateAborted. It is a terminal state. Update can't be
service/history/workflow/update/update.go:258
↓ 6 callers
Method
acquireShard
()
service/history/shard/context_impl.go:1913
↓ 6 callers
Method
add
add applies sizeDiff to stats.HistorySize and remembers it so it can be reverted.
common/persistence/execution_manager.go:87
↓ 6 callers
Function
addRequestCancelInitiatedEvent
( ms historyi.MutableState, workflowTaskCompletedEventID int64, cancelRequestID string, namespaceName name
service/history/history_engine_test.go:6823
↓ 6 callers
Method
addXDCCacheKV
( xdcKVs map[XDCCacheKey]XDCCacheValue, )
common/persistence/execution_manager.go:574
↓ 6 callers
Method
appendAlertsSuite
appendAlertsSuite adds a synthetic JUnit suite summarizing high-priority alerts (data races, panics, fatals) so that CI surfaces them prominently.
tools/testrunner/junit.go:132
↓ 6 callers
Method
apply
(m *metricDefinition)
common/metrics/option.go:6
↓ 6 callers
Function
assertAccepted
(t *testing.T, upd *update.Update)
service/history/workflow/update/update_test.go:1082
↓ 6 callers
Method
assertArchetypeIDSpecified
(archetypeID chasm.ArchetypeID)
common/persistence/sql/sqlplugin/postgresql/execution.go:925
↓ 6 callers
Method
assertArchetypeIDSpecified
(archetypeID chasm.ArchetypeID)
common/persistence/sql/sqlplugin/mysql/execution.go:922
↓ 6 callers
Method
assertArchetypeIDSpecified
(archetypeID chasm.ArchetypeID)
common/persistence/sql/sqlplugin/sqlite/execution.go:922
↓ 6 callers
Function
assertCompleteUpdateInRegistry
( t *testing.T, reg update.Registry, evStore mockEventStore, upd *update.Update, )
service/history/workflow/update/registry_test.go:944
↓ 6 callers
Function
assertFails
(t *testing.T, level testlogger.Level, msg string, tags []tag.Tag)
common/testing/testlogger/testlogger_test.go:113
↓ 6 callers
Function
assertResponseStatus
(t *testing.T, response *schedulespb.WatchWorkflowResponse, expectedStatus enumspb.WorkflowExecutionStatus)
service/worker/scheduler/responsebuilder_test.go:288
↓ 6 callers
Method
awaitUpdateAccepted
awaitUpdateAccepted polls the workflow history until a WorkflowExecutionUpdateAccepted event is found, failing the test if it does not appear within 1
tests/nexus_workflow_update_test.go:206
↓ 6 callers
Method
bufferEvent
( eventType enumspb.EventType, )
service/history/historybuilder/event_store.go:297
↓ 6 callers
Function
buildCLIOptions
()
tools/cassandra/main.go:32
↓ 6 callers
Method
buildMetricName
(name string, attrs attribute.Set)
common/metrics/statsd_exporter.go:225
↓ 6 callers
Function
calcRampThreshold
calcRampThreshold returns a number in [0, 100) that is deterministically calculated based on the passed id
service/matching/version_rule_helpers.go:609
↓ 6 callers
Method
capturedTasksLen
()
service/matching/backlog_manager_test.go:150
↓ 6 callers
Method
check
(ctx context.Context, check pingable.Check)
common/deadlock/deadlock.go:177
← previous
next →
3,801–3,900 of 43,335, ranked by callers