-
Notifications
You must be signed in to change notification settings - Fork 2
/
Statistics.puml
59 lines (46 loc) · 1.72 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
@startuml
Interface Manager
Interface StorageController<T> {
+ T Query()
+ void Add()
+ void Remove()
+ void Update()
}
' MileageChangeBridge
class MileageStatisticsBridge {
+ void UpdateMileageBasedOnStatistics()
}
MileageStatisticsBridge --- MileageManager : use
' Statistics
class StatisticsComputingData {
+ Dictionary<K, V> params
}
class StatisticsComputingTask {
+ StatisticsComputingData statisticsComputingData
}
StatisticsComputingTask "1" --- "1" StatisticsComputingData : contains
class StatisticsComputingManager implements Manager {
+ any QueryStatisticsLog()
}
StatisticsComputingManager --- StatisticsLogStorageController : use
StatisticsComputingManager --- User : use
' Todo: StatisticsLog
class StatisticsLogStorageController<T> implements StorageController {}
class StatisticsComputingScheduleHandler {
- StatisticsComputingTask task
+ void InvokeComputing()
}
StatisticsComputingScheduleHandler "1" --- "1" BookReviewManager : use
StatisticsComputingScheduleHandler "1" o-- "1" StatisticsComputingTask : contains
StatisticsComputingScheduleHandler --- MileageStatisticsBridge : use
' StatisticsComputing SubSystem
class StatisticsComputingSubSystem {
+ {static} StatisticsComputingManager statisticsComputing
+ {static} StatisticsLogStorageController statisticsLogStorageController
+ {static} List<StatisticsComputingScheduleHandler> statisticsComputingScheduleHandlers
+ {static} void InterruptComputingTask()
}
StatisticsComputingSubSystem "1" o-- "1" StatisticsComputingManager : contains
StatisticsComputingSubSystem "1" o-- "1" StatisticsLogStorageController : contains
StatisticsComputingSubSystem "1" o-- "N" StatisticsComputingScheduleHandler : contains
@enduml