Interface BaseCounter

    • Method Detail

      • getName

        java.lang.String getName()
        Returns:
        The counter's name.
      • sync

        SyncCounter sync()
        Returns a SyncCounter wrapper for this instance. If this counter is already synchronous, then this counter instance is returned (no-op)
        Returns:
        The SyncCounter instance;
      • async

        AsyncCounter async()
        Returns an AsyncCounter wrapper for this instance. If this counter is already asynchronous, then this counter instance is returned (no-op)
        Returns:
        The AsyncCounter instance.