toggle menu
Wow
3.16.8
jvm
switch theme
search in API
wow-core
/
me.ahoo.wow.saga.annotation
Package-level
declarations
Types
Functions
Types
End
Saga
Link copied to clipboard
annotation class
EndSaga
Saga
Link copied to clipboard
@
Target
(
allowedTargets
=
[
AnnotationTarget.CLASS
]
)
@
Inherited
annotation class
Saga
Saga
Id
Link copied to clipboard
@
Target
(
allowedTargets
=
[
AnnotationTarget.FUNCTION
]
)
@
Inherited
annotation class
SagaId
(
val
value
:
String
,
val
expression
:
String
)
从订阅的领域事件中解析
SagaId
. 用于多个聚合的关系维护.
Start
Saga
Link copied to clipboard
@
Target
(
allowedTargets
=
[
AnnotationTarget.FUNCTION
]
)
@
Inherited
annotation class
StartSaga
使用 StartSaga 订阅的领域事件聚合ID 作为 当前 SagaId
Stateless
Saga
Metadata
Parser
Link copied to clipboard
object
StatelessSagaMetadataParser
:
ProcessorMetadataParser
<
DomainEventExchange
<
*
>
>
Functions
stateless
Saga
Metadata
Link copied to clipboard
inline
fun
<
P
:
Any
>
statelessSagaMetadata
(
)
:
ProcessorMetadata
<
P
,
DomainEventExchange
<
*
>
>
stateless
Saga
Metadata
Link copied to clipboard
fun
<
P
:
Any
>
Class
<
out
P
>
.
statelessSagaMetadata
(
)
:
ProcessorMetadata
<
P
,
DomainEventExchange
<
*
>
>