user_data_manager.go ×2

Frontier kind: Code frontier

unlabeled · c_a58d99b6fb9d

174 tests · 2978 LOC · 142 files · introduces 0 tests · 17 LOC · 3 files

Introduces — evidence that enters the hierarchy at this concept

Code
4 ranges17 lines · 3 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
446 ranges2978 lines · 142 files · Browse complete extent
All tests (intent)
174 testsBrowse complete intent

Neighbourhood graph

The orange circle is the focus. Violet and green circles are every ancestor and descendant, broader and narrower, at any distance; blue squares and pink diamonds are the introduced files and exact introduced tests of every visible concept, not only the focus's. Arrows point from broader to narrower concepts and bridge only concepts omitted from this view. Undirected links show source or test introduction. Concept and file size follows LOC; exact test nodes use test-count units.

Introduced files, introduced tests, and structurally relevant concept specialization

In the embedded map, ordinary wheel input scrolls the page; use the visible controls to zoom and drag to pan. Open the full-screen map for canvas navigation: wheel pans, Ctrl/Command plus wheel zooms, and arrow keys pan when this region is focused. On touch screens, open the full-screen map to pan or pinch. If JavaScript or WebGL is unavailable, use the native relationship evidence on this page.

Graph controls are ready.

Interactive rendering requires JavaScript and WebGL. Use the native relationship evidence on this page while the interactive map is unavailable.

Native relationship evidence

Every exact file and test below is linked only from the concept that introduces it.

Introduced tests

Every collected test enters the hierarchy at exactly one concept.

No tests are introduced at this concept. Its intent tests are introduced by other concepts.

Introduced code

Every collected source range enters the hierarchy at exactly one concept.

3 files ranked by introduced lines: 17 introduced LOC across 4 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/service/matching/user_data_manager.go 12 introduced LOC · 2 ranges

Open complete file

209 }
210
211 > func (m *userDataManagerImpl) setUserDataLocked(userData *persistencespb.VersionedTaskQueueUserData) { user_data_manager.go
212 > m.userData = userData
213 > close(m.userDataChanged)
214 > m.userDataChanged = make(chan struct{})
215 > if m.onUserDataChanged != nil {
216 go m.onUserDataChanged(m.userData)
217 }
870 }
871
872 > func (m *userDataManagerImpl) logNewUserData(message string, data *persistencespb.VersionedTaskQueueUserData, tags ...tag.Tag) { user_data_manager.go
873 > m.logger.Info(message,
874 > append(tags,
875 > tag.UserDataVersion(data.GetVersion()),
876 > tag.Timestamp(hybrid_logical_clock.UTC(data.GetData().GetClock())),
877 > )...)
878 > }
go.temporal.io/server/common/log/tag/tags.go 3 introduced LOC · 1 range

Open complete file

1002 }
1003
1004 > func UserDataVersion(v int64) ZapTag { tags.go
1005 > return NewInt64("user-data-version", v)
1006 > }
1007
1008 func Cause(cause string) ZapTag {
go.temporal.io/server/api/persistence/v1/task_queues.pb.go 2 introduced LOC · 1 range

Open complete file

692 }
693
694 > func (x *TaskQueueUserData) GetClock() *v1.HybridLogicalClock { task_queues.pb.go
695 > if x != nil {
696 return x.Clock
697 }