订单快照组件
2019-06-25 15:10:21 0 举报
交易订单快照组件类图设计
作者其他创作
大纲/内容
SnapshootAspect
ParamElement
+ index:int = 0+ expression:String=null
ClearSnapshoot
+ beanName:String+ methodName:String+ paramElements:ParamElement[]+ events:Event[]
Type
+ attribute1:type = defaultValue+ attribute2:type- attribute3:type
+ operation1(params):returnType- operation2(params)- operation3()
ReturnEvent
+ Object:obj = null
BeforeEvent
AroundEvent
SnapshootManager
ThrowsEvent
+ throwable:Throwable = null
RedisClientProxy
+ groupName:String = null+ cacheClient:LettuceClient = null
ReadSnapshoot
+ obj:String = null
+ toJSONObject():JSONObject+ toJSONString():String+ toObject(Class<T> clazz):T
WriteSnapshoot
+ obj:Object = null
Event
+ javaClassLoader:ClassLoader = null+ javaClassName:String=null+ javaMethodName:String=null+ javaMethodDesc:String=null+ target:Object=null+ argumentArray:Object[]+ beanName:String=null+ methodName:String=null+ params:Object[]=null
DefaultSnapshootManager
+ clientProxy:ClientProxy = null
SnapshootCons
Snapshoot
+ toJSONObj():JSONObject+ toJSONStr():String
ClientProxy
SnapshotClient
LettuceClient
+ redisClusterClient:RedisClusterClient+ groupName:String- env:String- appCode:String- StatefulRedisClusterConnection:stringConnection- StatefulRedisClusterConnection:byteConnection- StatefulRedisClusterConnection:asyncStringConnection
EventHandler
applicationContext:ApplicationContext
+ onBeforeEvent(ClearSnapshoot):void+ onReturnEvent(ClearSnapshoot):void+ onThrowsEvent(ClearSnapshoot):void- analysisParams(ClearSnapshoot):Object[]
0 条评论
下一页