Interface TinyTrackService

  • All Implemented Interfaces:

    
    public interface TinyTrackService
    
                        

    Data tracking in async, never throws

    Since:

    2024-07-24

    Author:

    trydofor

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public interface TinyTrackService.Preparer

      sync prepare tracking prop, e.g. env, app

      public interface TinyTrackService.Collector

      aysnc collect tracking to different impl, e.g. Dao to database

    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract FutureTask<Void> async(Runnable run) async executor
      abstract TinyTracking begin(@NotNull() String key, @NotNull() String ref) begin a tracking with key and ref
      abstract void track(@NotNull() TinyTracking tracking, boolean async) post the tracking, fire and forget, never throws
      void track(@NotNull() TinyTracking tracking) async post the tracking, fire and forget, never throws
      TinyTracking begin(@NotNull() String key) raw string key and 'string' ref
      TinyTracking begin(@NotNull() Method key) method signature key and 'method' ref.
      TinyTracking begin(@NotNull() Enum<out Object> key) enum signature key and 'enum' ref.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait