-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathStatistics.puml
82 lines (66 loc) · 2.58 KB
/
Statistics.puml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
@startuml
package Commons {
Interface Manager
Interface StorageController<T> {
+ T Query(void params)
+ void Add()
+ void Remove()
+ void Update()
}
}
package User.Commons {
class User
}
package Books.BookReview {
class BookReviewManager
}
package Mileage.Management {
class MileageManager
}
package Statistics.Commons {
' MileageChangeBridge
class MileageStatisticsBridge {
+ void UpdateMileageBasedOnStatistics()
}
MileageStatisticsBridge --- Mileage.Management.MileageManager : use
}
package Statistics.Computings {
' Statistics
class StatisticsComputingData {
+ Dictionary<K, V> params
}
class StatisticsComputingTask {
+ StatisticsComputingData statisticsComputingData
}
StatisticsComputingTask "1" --- "1" StatisticsComputingData : contains
}
package Statistics.Management {
class StatisticsComputingManager implements Commons.Manager {
+ StatisticsLog QueryStatisticsLog(void query)
}
StatisticsComputingManager --- Statistics.Management.StatisticsLogStorageController : use
StatisticsComputingManager --- User.Commons.User : use
StatisticsComputingManager --- StatisticsLog
class StatisticsLog
class StatisticsLogStorageController<T> implements Commons.StorageController {}
StatisticsLogStorageController --- StatisticsLog
class StatisticsComputingScheduleHandler {
- Statistics.Computings.StatisticsComputingTask task
+ void InvokeComputing()
}
StatisticsComputingScheduleHandler "1" --- "1" Books.BookReview.BookReviewManager : use
StatisticsComputingScheduleHandler "1" o-- "1" Statistics.Computings.StatisticsComputingTask : contains
StatisticsComputingScheduleHandler --- Statistics.Commons.MileageStatisticsBridge : use
' StatisticsComputing SubSystem
class StatisticsComputingSubSystem {
+ {static} StatisticsComputingManager statisticsComputing
+ {static} StatisticsLogStorageController statisticsLogStorageController
+ {static} List<StatisticsComputingScheduleHandler> statisticsComputingScheduleHandlers
+ {static} void InterruptComputingTask(Statistics.Computings.StatisticsComputingTask task)
}
StatisticsComputingSubSystem "1" o-- "1" StatisticsComputingManager : contains
StatisticsComputingSubSystem "1" o-- "1" StatisticsLogStorageController : contains
StatisticsComputingSubSystem "1" o-- "N" StatisticsComputingScheduleHandler : contains
StatisticsComputingSubSystem "1" o-- "1" Statistics.Computings.StatisticsComputingTask : use
}
@enduml