Package io.jans.casa.core
Interface ITrackable
public interface ITrackable
An interface that can be implemented by plugins in order to exhibit information about plugin usage.
-
Method Summary
Modifier and TypeMethodDescriptiondefault intgetActiveUsers(long start, long end) Computes the number of active users in the period of time [start, end)
-
Method Details
-
getActiveUsers
default int getActiveUsers(long start, long end) Computes the number of active users in the period of time [start, end)- Parameters:
start- A timestamp (relative to UNIX epoch)end- A timestamp (relative to UNIX epoch)- Returns:
- An integer value. If the computation cannot be specifically performed for the period of time specified, it will return the usage exhibited at the moment of the invocation of this method.
-