Class TinyTrackServiceImpl
-
- All Implemented Interfaces:
-
org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.InitializingBean,pro.fessional.wings.tiny.grow.track.TinyTrackService
@Service()@ConditionalWingsEnabled() public class TinyTrackServiceImpl implements TinyTrackService, InitializingBean, DisposableBean
- Since:
2024-07-26
trydofor
-
-
Constructor Summary
Constructors Constructor Description TinyTrackServiceImpl()
-
Method Summary
Modifier and Type Method Description FutureTask<Void>async(Runnable run)async executor TinyTrackingbegin(@NotNull() String key, @NotNull() String ref)begin a tracking with key and ref voidtrack(@NotNull() TinyTracking tracking, boolean async)post the tracking, fire and forget, never throws voidtrack(@NotNull() TinyTracking tracking)async post the tracking, fire and forget, never throws voidafterPropertiesSet()voiddestroy()voidsetTrackCollector(List<TinyTrackService.Collector> trackCollector)voidsetTrackPreparer(List<TinyTrackService.Preparer> trackPreparer)voidsetExecutor(Executor executor)-
-
Method Detail
-
async
FutureTask<Void> async(Runnable run)
async executor
-
begin
@NotNull() TinyTracking begin(@NotNull() String key, @NotNull() String ref)
begin a tracking with key and ref
-
track
void track(@NotNull() TinyTracking tracking, boolean async)
post the tracking, fire and forget, never throws
-
track
void track(@NotNull() TinyTracking tracking)
async post the tracking, fire and forget, never throws
-
afterPropertiesSet
void afterPropertiesSet()
-
destroy
void destroy()
-
setTrackCollector
@Autowired() void setTrackCollector(List<TinyTrackService.Collector> trackCollector)
-
setTrackPreparer
@Autowired() void setTrackPreparer(List<TinyTrackService.Preparer> trackPreparer)
-
setExecutor
@Autowired(required = false)@Qualifier(value = "taskExecutor") void setExecutor(Executor executor)
-
-
-
-