mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-13 02:14:45 +00:00
#190 Remove urm plugin
This commit is contained in:
1 parent
4450000a83
commit
b0f9582824
98 files changed
-5137
No files matched your search
@@ -1,31 +0,0 @@
|
||||
@startuml
|
||||
package com.iluwatar.halfsynchalfasync {
|
||||
class App {
|
||||
- LOGGER : Logger {static}
|
||||
+ App()
|
||||
- ap(i : long) : long {static}
|
||||
+ main(args : String[]) {static}
|
||||
}
|
||||
~class ArithmeticSumTask {
|
||||
- n : long
|
||||
+ ArithmeticSumTask(n : long)
|
||||
+ call() : Long
|
||||
+ onError(throwable : Throwable)
|
||||
+ onPostCall(result : Long)
|
||||
+ onPreCall()
|
||||
}
|
||||
interface AsyncTask<O> {
|
||||
+ call() : O {abstract}
|
||||
+ onError(Throwable) {abstract}
|
||||
+ onPostCall(O) {abstract}
|
||||
+ onPreCall() {abstract}
|
||||
}
|
||||
class AsynchronousService {
|
||||
- service : ExecutorService
|
||||
+ AsynchronousService(workQueue : BlockingQueue<Runnable>)
|
||||
+ execute(task : AsyncTask<T>)
|
||||
}
|
||||
}
|
||||
ArithmeticSumTask ..+ App
|
||||
ArithmeticSumTask ..|> AsyncTask
|
||||
@enduml
|
||||
Reference in new issue
Block a user