Index

A B C D E F G H I L M N O P R S T V W 
All Classes and Interfaces|All Packages|Constant Field Values

A

addFeature(Feature) - Method in class io.github.projectunified.faststats.core.Metrics.Builder
Adds a feature to be configured with the submit executor.
addFeatures(Collection) - Method in class io.github.projectunified.faststats.core.Metrics.Builder
Adds a collection of features to be configured with the submit executor.
addMetric(Metric) - Method in class io.github.projectunified.faststats.core.Metrics.Builder
Adds a metric to be collected and submitted.
addMetrics(Collection) - Method in class io.github.projectunified.faststats.core.Metrics.Builder
Adds a collection of metrics to be collected and submitted.
anonymize(String, String) - Method in class io.github.projectunified.faststats.errortracker.ErrorTracker
Adds an anonymization pattern replacement rule.
anonymize(Pattern, String) - Method in class io.github.projectunified.faststats.errortracker.ErrorTracker
Adds an anonymization pattern replacement rule.
array(String, Callable) - Static method in interface io.github.projectunified.faststats.core.Metric
Creates a new Array metric.
attachErrorContext(ClassLoader) - Method in class io.github.projectunified.faststats.errortracker.ErrorTracker
Attaches uncaught error handling using the specified class loader.
attributes() - Method in class io.github.projectunified.faststats.errortracker.TrackedError
Returns a copy of the additional error attributes.
attributes(Consumer) - Method in class io.github.projectunified.faststats.errortracker.ErrorTracker
Modifies the global error context attributes using a consumer.
attributes(Consumer) - Method in class io.github.projectunified.faststats.errortracker.TrackedError
Modifies the additional error attributes using a consumer.
attributes(Consumer) - Method in class io.github.projectunified.faststats.featureflag.FeatureFlagManager
Modifies the global error context attributes using a consumer.
attributes(Supplier) - Method in class io.github.projectunified.faststats.errortracker.ErrorTracker
Sets the global error context attributes using a supplier.
attributes(Supplier) - Method in class io.github.projectunified.faststats.errortracker.TrackedError
Sets the additional error attributes using a supplier.
attributes(Supplier) - Method in class io.github.projectunified.faststats.featureflag.FeatureFlagManager
Sets the global error context attributes using a supplier.
attributes(Map) - Method in class io.github.projectunified.faststats.errortracker.TrackedError
Sets the additional error attributes.

B

bool(String, Callable) - Static method in interface io.github.projectunified.faststats.core.Metric
Creates a new Boolean metric.
BOOLEAN - Enum constant in enum class io.github.projectunified.faststats.featureflag.FeatureFlag.Type
 
build() - Method in class io.github.projectunified.faststats.core.Metrics.Builder
Builds the Metrics instance.
builder() - Static method in class io.github.projectunified.faststats.core.Metrics
Instantiates a new Builder.
Builder() - Constructor for class io.github.projectunified.faststats.core.Metrics.Builder
 
BukkitPlatform - Class in io.github.projectunified.faststats.bukkit
Bukkit implementation of Platform.
BukkitPlatform(Plugin) - Constructor for class io.github.projectunified.faststats.bukkit.BukkitPlatform
Constructs a new BukkitPlatform for the given plugin.
BungeePlatform - Class in io.github.projectunified.faststats.bungeecord
BungeeCord implementation of Platform.
BungeePlatform(Plugin) - Constructor for class io.github.projectunified.faststats.bungeecord.BungeePlatform
Constructs a new BungeePlatform for the given plugin.

C

cancel() - Method in interface io.github.projectunified.faststats.core.TaskScheduler.Task
Cancels the scheduled task.
collection(String, Callable) - Static method in interface io.github.projectunified.faststats.core.Metric
Creates a new Collection metric.
Config - Interface in io.github.projectunified.faststats.core
Interface representing the configuration settings for metrics collection.
contextAware() - Static method in class io.github.projectunified.faststats.errortracker.ErrorTracker
Creates a context-aware error tracker feature.
contextUnaware() - Static method in class io.github.projectunified.faststats.errortracker.ErrorTracker
Creates a context-unaware error tracker feature.
create(int, Submitter.Response.InputStreamSupplier, Exception) - Static method in interface io.github.projectunified.faststats.core.Submitter.Response
Creates a new Submitter.Response instance.

D

DEFAULT_BASE_URL - Static variable in interface io.github.projectunified.faststats.core.Submitter
The default base URL for metrics collection.
DEFAULT_COMMENT - Static variable in class io.github.projectunified.faststats.core.DefaultConfig
 
DefaultConfig - Class in io.github.projectunified.faststats.core
Default implementation of Config that reads and writes configurations from a properties file.
DefaultConfig(Path, String[], boolean, Properties, boolean, UUID, boolean, boolean, boolean, boolean, int) - Constructor for class io.github.projectunified.faststats.core.DefaultConfig
Constructs a new DefaultConfig instance.
defaultScheduler() - Static method in interface io.github.projectunified.faststats.core.TaskScheduler
Creates a default single-threaded daemon executor-based scheduler.
define(String, boolean) - Method in class io.github.projectunified.faststats.featureflag.FeatureFlagManager
Defines a boolean feature flag.
define(String, boolean, Map) - Method in class io.github.projectunified.faststats.featureflag.FeatureFlagManager
Defines a boolean feature flag with attributes.
define(String, Number) - Method in class io.github.projectunified.faststats.featureflag.FeatureFlagManager
Defines a Number feature flag.
define(String, Number, Map) - Method in class io.github.projectunified.faststats.featureflag.FeatureFlagManager
Defines a Number feature flag with attributes.
define(String, String) - Method in class io.github.projectunified.faststats.featureflag.FeatureFlagManager
Defines a String feature flag.
define(String, String, Map) - Method in class io.github.projectunified.faststats.featureflag.FeatureFlagManager
Defines a String feature flag with attributes.
deserialize(String) - Method in class io.github.projectunified.faststats.core.Feature
Deserializes the given JSON string into a telemetry map.
deserialize(String) - Method in interface io.github.projectunified.faststats.core.Serializer
Deserializes the given JSON string into a telemetry map.
deserialize(String) - Method in class io.github.projectunified.faststats.gson.GsonSerializer
 
detachErrorContext() - Method in class io.github.projectunified.faststats.errortracker.ErrorTracker
Detaches error context handling and restores the original handler.

E

equals(Object) - Method in class io.github.projectunified.faststats.errortracker.TrackedError
 
equals(Object) - Method in class io.github.projectunified.faststats.featureflag.FeatureFlag
 
error() - Method in class io.github.projectunified.faststats.errortracker.TrackedError
Returns the tracked error.
ErrorTracker - Class in io.github.projectunified.faststats.errortracker
A feature that tracks uncaught and handled errors, anonymizes sensitive info, and submits report payloads.
ErrorTracker() - Constructor for class io.github.projectunified.faststats.errortracker.ErrorTracker
Creates a new error tracker feature that is context-unaware.
ErrorTracker(ClassLoader) - Constructor for class io.github.projectunified.faststats.errortracker.ErrorTracker
Creates a new error tracker feature with the specified class loader.
execute(String, String, boolean) - Method in interface io.github.projectunified.faststats.core.Submitter
Executes the HTTP request and returns the response context.
execute(String, String, boolean) - Method in class io.github.projectunified.faststats.httpclient.HttpClientSubmitter
 
execute(String, String, boolean) - Method in class io.github.projectunified.faststats.net.NetSubmitter
 

F

FastStatsTestPlugin - Class in io.github.projectunified.faststats.bukkit.testplugin
 
FastStatsTestPlugin() - Constructor for class io.github.projectunified.faststats.bukkit.testplugin.FastStatsTestPlugin
 
Feature - Class in io.github.projectunified.faststats.core
An abstract representation of a feature that can submit telemetry payloads on demand.
Feature() - Constructor for class io.github.projectunified.faststats.core.Feature
 
FeatureFlag<T> - Class in io.github.projectunified.faststats.featureflag
A feature flag representing a setting or configuration fetched from the FastStats server.
FeatureFlag.Type - Enum Class in io.github.projectunified.faststats.featureflag
Supported value types for feature flags.
FeatureFlagManager - Class in io.github.projectunified.faststats.featureflag
Feature Flag Manager that coordinates flag checks, opting in/out, caching, and TTL.
FeatureFlagManager() - Constructor for class io.github.projectunified.faststats.featureflag.FeatureFlagManager
Creates a new FeatureFlagManager.
fetch() - Method in class io.github.projectunified.faststats.featureflag.FeatureFlag
Force a fresh fetch of the flag value from the server.
fetch(FeatureFlag) - Method in class io.github.projectunified.faststats.featureflag.FeatureFlagManager
 

G

get() - Method in interface io.github.projectunified.faststats.core.Submitter.Response.InputStreamSupplier
Gets the input stream.
getAttributes() - Method in class io.github.projectunified.faststats.errortracker.ErrorTracker
Returns the global error context attributes configured for this tracker.
getAttributes() - Method in class io.github.projectunified.faststats.featureflag.FeatureFlagManager
Returns the global error context attributes configured for this manager.
getCached() - Method in class io.github.projectunified.faststats.featureflag.FeatureFlag
Get the current cached flag value.
getConfig() - Method in class io.github.projectunified.faststats.bukkit.BukkitPlatform
 
getConfig() - Method in class io.github.projectunified.faststats.bungeecord.BungeePlatform
 
getConfig() - Method in class io.github.projectunified.faststats.core.Metrics
Gets the configuration settings.
getConfig() - Method in interface io.github.projectunified.faststats.core.Platform
Retrieves the platform-specific configuration.
getConfig() - Method in class io.github.projectunified.faststats.hytale.HytalePlatform
 
getConfig() - Method in class io.github.projectunified.faststats.minestom.MinestomPlatform
 
getConfig() - Method in class io.github.projectunified.faststats.nukkit.NukkitPlatform
 
getConfig() - Method in class io.github.projectunified.faststats.sponge.SpongePlatform
 
getConfig() - Method in class io.github.projectunified.faststats.velocity.VelocityPlatform
 
getConfigVersion() - Method in interface io.github.projectunified.faststats.core.Config
Retrieves the version of the configuration file.
getContextErrorHandler() - Method in class io.github.projectunified.faststats.errortracker.ErrorTracker
Gets the error event handler.
getDefaultContext() - Method in class io.github.projectunified.faststats.core.Feature
Gets the default context containing OS and platform information.
getDefaultProperties() - Method in class io.github.projectunified.faststats.core.Feature
Gets the default properties to assign to the configuration.
getDefaultProperties() - Method in class io.github.projectunified.faststats.errortracker.ErrorTracker
 
getDefaultValue() - Method in class io.github.projectunified.faststats.featureflag.FeatureFlag
Get the default value for this flag.
getException() - Method in interface io.github.projectunified.faststats.core.Submitter.Response
Gets the exception that occurred during execution, if any.
getExpiration() - Method in class io.github.projectunified.faststats.featureflag.FeatureFlag
Get the expiration time for the current cached value.
getFeature(Class) - Method in class io.github.projectunified.faststats.core.Feature
Finds a registered feature of the specified class.
getFeature(Class) - Method in class io.github.projectunified.faststats.core.Metrics
Finds a registered feature of the specified class.
getId() - Method in class io.github.projectunified.faststats.featureflag.FeatureFlag
Get the flag identifier.
getInputStream() - Method in interface io.github.projectunified.faststats.core.Submitter.Response
Gets the response body input stream.
getMetrics() - Method in class io.github.projectunified.faststats.bukkit.BukkitPlatform
 
getMetrics() - Method in class io.github.projectunified.faststats.bungeecord.BungeePlatform
 
getMetrics() - Method in interface io.github.projectunified.faststats.core.Platform
Gets default platform-specific metrics.
getMetrics() - Method in class io.github.projectunified.faststats.hytale.HytalePlatform
 
getMetrics() - Method in class io.github.projectunified.faststats.minestom.MinestomPlatform
 
getMetrics() - Method in class io.github.projectunified.faststats.nukkit.NukkitPlatform
 
getMetrics() - Method in class io.github.projectunified.faststats.sponge.SpongePlatform
 
getMetrics() - Method in class io.github.projectunified.faststats.velocity.VelocityPlatform
 
getName() - Method in interface io.github.projectunified.faststats.core.Metric
Gets the unique name identifying this metric.
getOldConfigVersion() - Method in interface io.github.projectunified.faststats.core.Config
Retrieves the previous version of the configuration file before loading/updating.
getOldConfigVersion() - Method in class io.github.projectunified.faststats.core.DefaultConfig
 
getProperty(String, String) - Method in interface io.github.projectunified.faststats.core.Config
Gets a property value.
getProperty(String, String) - Method in class io.github.projectunified.faststats.core.DefaultConfig
 
getProperty(String, String) - Method in class io.github.projectunified.faststats.core.Feature
Gets a configuration property.
getScheduler() - Method in class io.github.projectunified.faststats.core.Feature
Gets the TaskScheduler instance.
getServerId() - Method in interface io.github.projectunified.faststats.core.Config
Retrieves the unique identifier of the server.
getServerId() - Method in class io.github.projectunified.faststats.core.DefaultConfig
 
getStatusCode() - Method in interface io.github.projectunified.faststats.core.Submitter.Response
Gets the HTTP response status code, or 0 / -1 if a client-side exception occurred.
getTtl() - Method in class io.github.projectunified.faststats.featureflag.FeatureFlagManager
Get the TTL for the cached flag values.
getType() - Method in class io.github.projectunified.faststats.featureflag.FeatureFlag
Returns the type representing the value type of this flag.
getValue() - Method in interface io.github.projectunified.faststats.core.Metric
Retrieves the current value of the metric.
GsonSerializer - Class in io.github.projectunified.faststats.gson
An implementation of Serializer that uses Google Gson.
GsonSerializer() - Constructor for class io.github.projectunified.faststats.gson.GsonSerializer
Constructs a new GsonSerializer with a default Gson instance.
GsonSerializer(Gson) - Constructor for class io.github.projectunified.faststats.gson.GsonSerializer
Constructs a new GsonSerializer with the specified Gson instance.

H

handled() - Method in class io.github.projectunified.faststats.errortracker.TrackedError
Returns whether the error was handled.
handled(boolean) - Method in class io.github.projectunified.faststats.errortracker.TrackedError
Sets whether the error was handled.
hashCode() - Method in class io.github.projectunified.faststats.errortracker.TrackedError
 
hashCode() - Method in class io.github.projectunified.faststats.featureflag.FeatureFlag
 
HttpClientSubmitter - Class in io.github.projectunified.faststats.httpclient
Implementation of Submitter that uses HttpClient to submit GZIP-compressed telemetry payloads.
HttpClientSubmitter(String) - Constructor for class io.github.projectunified.faststats.httpclient.HttpClientSubmitter
Constructs a new HttpClientSubmitter with standard HttpClient.
HttpClientSubmitter(HttpClient, String) - Constructor for class io.github.projectunified.faststats.httpclient.HttpClientSubmitter
Constructs a new HttpClientSubmitter with standard HttpClient.
HttpClientSubmitter(HttpClient, String, String, String) - Constructor for class io.github.projectunified.faststats.httpclient.HttpClientSubmitter
Constructs a new HttpClientSubmitter.
HytalePlatform - Class in io.github.projectunified.faststats.hytale
Hytale implementation of Platform.
HytalePlatform(JavaPlugin) - Constructor for class io.github.projectunified.faststats.hytale.HytalePlatform
Constructs a new HytalePlatform for the given plugin.

I

ignoreError(Class) - Method in class io.github.projectunified.faststats.errortracker.ErrorTracker
Adds an error type that will not be reported.
ignoreError(Class, String) - Method in class io.github.projectunified.faststats.errortracker.ErrorTracker
Adds an error type and message pattern string that will be ignored.
ignoreError(Class, Pattern) - Method in class io.github.projectunified.faststats.errortracker.ErrorTracker
Adds an error type and message pattern that will be ignored.
ignoreError(String) - Method in class io.github.projectunified.faststats.errortracker.ErrorTracker
Adds a pattern string that will be matched against error messages to ignore them.
ignoreError(Pattern) - Method in class io.github.projectunified.faststats.errortracker.ErrorTracker
Adds a pattern that will be matched against error messages to ignore them.
io.github.projectunified.faststats.bukkit - package io.github.projectunified.faststats.bukkit
 
io.github.projectunified.faststats.bukkit.testplugin - package io.github.projectunified.faststats.bukkit.testplugin
 
io.github.projectunified.faststats.bungeecord - package io.github.projectunified.faststats.bungeecord
 
io.github.projectunified.faststats.core - package io.github.projectunified.faststats.core
 
io.github.projectunified.faststats.errortracker - package io.github.projectunified.faststats.errortracker
 
io.github.projectunified.faststats.featureflag - package io.github.projectunified.faststats.featureflag
 
io.github.projectunified.faststats.gson - package io.github.projectunified.faststats.gson
 
io.github.projectunified.faststats.httpclient - package io.github.projectunified.faststats.httpclient
 
io.github.projectunified.faststats.hytale - package io.github.projectunified.faststats.hytale
 
io.github.projectunified.faststats.minestom - package io.github.projectunified.faststats.minestom
 
io.github.projectunified.faststats.net - package io.github.projectunified.faststats.net
 
io.github.projectunified.faststats.nukkit - package io.github.projectunified.faststats.nukkit
 
io.github.projectunified.faststats.paper - package io.github.projectunified.faststats.paper
 
io.github.projectunified.faststats.sponge - package io.github.projectunified.faststats.sponge
 
io.github.projectunified.faststats.velocity - package io.github.projectunified.faststats.velocity
 
isContextAttached() - Method in class io.github.projectunified.faststats.errortracker.ErrorTracker
Gets whether an error context is currently attached.
isDebug() - Method in interface io.github.projectunified.faststats.core.Config
Checks if debug logging is enabled.
isDebug() - Method in class io.github.projectunified.faststats.core.DefaultConfig
 
isEnabled() - Method in interface io.github.projectunified.faststats.core.Config
Checks if metrics submission is enabled.
isEnabled() - Method in class io.github.projectunified.faststats.core.DefaultConfig
 
isExpired() - Method in class io.github.projectunified.faststats.featureflag.FeatureFlag
Returns whether the current cached value is expired or absent.
isFirstRun() - Method in interface io.github.projectunified.faststats.core.Config
Checks if this is the first time the metrics are running.
isFirstRun() - Method in class io.github.projectunified.faststats.core.DefaultConfig
 
isSubmitAdditionalMetrics() - Method in interface io.github.projectunified.faststats.core.Config
Checks if additional/custom metrics are enabled for submission.
isSubmitAdditionalMetrics() - Method in class io.github.projectunified.faststats.core.DefaultConfig
 
isSubmitMetrics() - Method in interface io.github.projectunified.faststats.core.Config
Checks if metrics submission is enabled.
isSubmitMetrics() - Method in class io.github.projectunified.faststats.core.DefaultConfig
 
isValid() - Method in class io.github.projectunified.faststats.featureflag.FeatureFlag
Returns whether the current cached value is still valid.

L

logError(String, Throwable) - Method in class io.github.projectunified.faststats.bukkit.BukkitPlatform
 
logError(String, Throwable) - Method in class io.github.projectunified.faststats.bungeecord.BungeePlatform
 
logError(String, Throwable) - Method in interface io.github.projectunified.faststats.core.Platform
Logs error messages.
logError(String, Throwable) - Method in class io.github.projectunified.faststats.hytale.HytalePlatform
 
logError(String, Throwable) - Method in class io.github.projectunified.faststats.minestom.MinestomPlatform
 
logError(String, Throwable) - Method in class io.github.projectunified.faststats.nukkit.NukkitPlatform
 
logError(String, Throwable) - Method in class io.github.projectunified.faststats.sponge.SpongePlatform
 
logError(String, Throwable) - Method in class io.github.projectunified.faststats.velocity.VelocityPlatform
 
logInfo(String) - Method in class io.github.projectunified.faststats.bukkit.BukkitPlatform
 
logInfo(String) - Method in class io.github.projectunified.faststats.bungeecord.BungeePlatform
 
logInfo(String) - Method in interface io.github.projectunified.faststats.core.Platform
Logs informational messages.
logInfo(String) - Method in class io.github.projectunified.faststats.hytale.HytalePlatform
 
logInfo(String) - Method in class io.github.projectunified.faststats.minestom.MinestomPlatform
 
logInfo(String) - Method in class io.github.projectunified.faststats.nukkit.NukkitPlatform
 
logInfo(String) - Method in class io.github.projectunified.faststats.sponge.SpongePlatform
 
logInfo(String) - Method in class io.github.projectunified.faststats.velocity.VelocityPlatform
 
logWarning(String) - Method in class io.github.projectunified.faststats.bukkit.BukkitPlatform
 
logWarning(String) - Method in class io.github.projectunified.faststats.bungeecord.BungeePlatform
 
logWarning(String) - Method in interface io.github.projectunified.faststats.core.Platform
Logs warning messages.
logWarning(String) - Method in class io.github.projectunified.faststats.hytale.HytalePlatform
 
logWarning(String) - Method in class io.github.projectunified.faststats.minestom.MinestomPlatform
 
logWarning(String) - Method in class io.github.projectunified.faststats.nukkit.NukkitPlatform
 
logWarning(String) - Method in class io.github.projectunified.faststats.sponge.SpongePlatform
 
logWarning(String) - Method in class io.github.projectunified.faststats.velocity.VelocityPlatform
 

M

map(String, Callable) - Static method in interface io.github.projectunified.faststats.core.Metric
Creates a new Map metric.
Metric<T> - Interface in io.github.projectunified.faststats.core
Represents a single telemetry data source.
Metrics - Class in io.github.projectunified.faststats.core
Main coordinator class that manages configuration, collects metrics, and submits telemetry payloads.
Metrics.Builder - Class in io.github.projectunified.faststats.core
Builder class for Metrics.
MinestomPlatform - Class in io.github.projectunified.faststats.minestom
Minestom implementation of Platform.
MinestomPlatform() - Constructor for class io.github.projectunified.faststats.minestom.MinestomPlatform
Constructs a new MinestomPlatform.

N

NetSubmitter - Class in io.github.projectunified.faststats.net
Implementation of Submitter that uses HttpURLConnection to submit GZIP-compressed telemetry payloads.
NetSubmitter(String) - Constructor for class io.github.projectunified.faststats.net.NetSubmitter
Constructs a new NetSubmitter with default settings.
NetSubmitter(String, String, String) - Constructor for class io.github.projectunified.faststats.net.NetSubmitter
Constructs a new NetSubmitter.
NukkitPlatform - Class in io.github.projectunified.faststats.nukkit
Nukkit implementation of Platform.
NukkitPlatform(PluginBase) - Constructor for class io.github.projectunified.faststats.nukkit.NukkitPlatform
Constructs a new NukkitPlatform for the given plugin.
number(String, Callable) - Static method in interface io.github.projectunified.faststats.core.Metric
Creates a new Number metric.
NUMBER - Enum constant in enum class io.github.projectunified.faststats.featureflag.FeatureFlag.Type
 

O

onConfigMigrate(Config, int, int) - Method in class io.github.projectunified.faststats.core.Feature
Called when the configuration needs migration.
onDisable() - Method in class io.github.projectunified.faststats.bukkit.testplugin.FastStatsTestPlugin
 
onEnable() - Method in class io.github.projectunified.faststats.bukkit.testplugin.FastStatsTestPlugin
 
onServerException(ServerExceptionEvent) - Method in class io.github.projectunified.faststats.paper.PaperErrorTracker
Handles server exceptions to track plugin errors.
onShutdown() - Method in class io.github.projectunified.faststats.core.Feature
Called when the Metrics coordinator is shutdown.
onShutdown() - Method in class io.github.projectunified.faststats.errortracker.ErrorTracker
 
onShutdown() - Method in class io.github.projectunified.faststats.paper.PaperErrorTracker
 
onStart() - Method in class io.github.projectunified.faststats.core.Feature
Called when the Metrics coordinator is started.
onStart() - Method in class io.github.projectunified.faststats.errortracker.ErrorTracker
 
onStart() - Method in class io.github.projectunified.faststats.paper.PaperErrorTracker
 
optIn() - Method in class io.github.projectunified.faststats.featureflag.FeatureFlag
Request that the server opt in to this flag, then refresh the cached value.
optIn(FeatureFlag) - Method in class io.github.projectunified.faststats.featureflag.FeatureFlagManager
 
optOut() - Method in class io.github.projectunified.faststats.featureflag.FeatureFlag
Request that the server opt out of this flag, then refresh the cached value.
optOut(FeatureFlag) - Method in class io.github.projectunified.faststats.featureflag.FeatureFlagManager
 

P

PaperErrorTracker - Class in io.github.projectunified.faststats.paper
A feature that registers an event listener on Paper servers to track uncaught server plugin exceptions responsible by the registered plugin, reporting them to the core ErrorTracker feature.
PaperErrorTracker(Plugin) - Constructor for class io.github.projectunified.faststats.paper.PaperErrorTracker
Constructs a new PaperErrorTracker for the specified plugin.
platform(Platform) - Method in class io.github.projectunified.faststats.core.Metrics.Builder
Sets the platform implementation.
Platform - Interface in io.github.projectunified.faststats.core
Represents the platform environment (e.g.

R

read(Path) - Static method in class io.github.projectunified.faststats.core.DefaultConfig
Reads a config from the specified path with default settings.
read(Path, String[], boolean, boolean) - Static method in class io.github.projectunified.faststats.core.DefaultConfig
Reads a config from the specified path with custom comments and external control flags.
readString() - Method in interface io.github.projectunified.faststats.core.Submitter.Response
Reads the entire response body stream as a UTF-8 String.

S

schedule(Runnable, long, long) - Method in interface io.github.projectunified.faststats.core.TaskScheduler
Schedules the task for periodic execution.
scheduler(TaskScheduler) - Method in class io.github.projectunified.faststats.core.Metrics.Builder
Sets the task scheduler.
serialize(Map) - Method in interface io.github.projectunified.faststats.core.Serializer
Serializes the given telemetry map into its JSON representation.
serialize(Map) - Method in class io.github.projectunified.faststats.gson.GsonSerializer
 
serializer(Serializer) - Method in class io.github.projectunified.faststats.core.Metrics.Builder
Sets the JSON serializer.
Serializer - Interface in io.github.projectunified.faststats.core
Interface for serializing raw Java telemetry structures into standard JSON strings.
setContextErrorHandler(BiConsumer) - Method in class io.github.projectunified.faststats.errortracker.ErrorTracker
Sets the error event handler.
setDefaultProperty(Map) - Method in interface io.github.projectunified.faststats.core.Config
Sets default properties.
setDefaultProperty(Map) - Method in class io.github.projectunified.faststats.core.DefaultConfig
 
shutdown() - Method in class io.github.projectunified.faststats.core.Metrics
Shuts down the scheduler.
shutdown() - Method in interface io.github.projectunified.faststats.core.TaskScheduler
Shuts down the scheduler, terminating any active scheduled task.
SpongePlatform - Class in io.github.projectunified.faststats.sponge
Sponge implementation of Platform.
SpongePlatform(PluginContainer, Logger, Path) - Constructor for class io.github.projectunified.faststats.sponge.SpongePlatform
Constructs a new SpongePlatform for the given plugin container.
start() - Method in class io.github.projectunified.faststats.core.Metrics
Starts the periodic scheduling of metrics submission with default initial delay (30 seconds, configurable via 'faststats.initial-delay' system property) and period (30 minutes).
start(long, long) - Method in class io.github.projectunified.faststats.core.Metrics
Starts the periodic scheduling of metrics submission.
string(String, Callable) - Static method in interface io.github.projectunified.faststats.core.Metric
Creates a new String metric.
STRING - Enum constant in enum class io.github.projectunified.faststats.featureflag.FeatureFlag.Type
 
submit(String, Map, boolean) - Method in class io.github.projectunified.faststats.core.Feature
Submits the given data map payload and returns the response.
submitter(Submitter) - Method in class io.github.projectunified.faststats.core.Metrics.Builder
Sets the submitter.
Submitter - Interface in io.github.projectunified.faststats.core
Interface to execute HTTP POST requests sending the JSON telemetry body to the server.
Submitter.Response - Interface in io.github.projectunified.faststats.core
Represents the response received from executing a request.
Submitter.Response.InputStreamSupplier - Interface in io.github.projectunified.faststats.core
A supplier for InputStream that can throw an IOException.

T

TaskScheduler - Interface in io.github.projectunified.faststats.core
Interface representing the task scheduling mechanism for executing recurring telemetry submissions.
TaskScheduler.Task - Interface in io.github.projectunified.faststats.core
Interface representing a scheduled task.
toString() - Method in class io.github.projectunified.faststats.featureflag.FeatureFlag
 
TrackedError - Class in io.github.projectunified.faststats.errortracker
An error report with tracking metadata.
TrackedError(Throwable) - Constructor for class io.github.projectunified.faststats.errortracker.TrackedError
Creates a new tracked error.
trackError(String) - Method in class io.github.projectunified.faststats.errortracker.ErrorTracker
Tracks a handled error with the given message.
trackError(String, boolean) - Method in class io.github.projectunified.faststats.errortracker.ErrorTracker
Tracks an error with the given message.
trackError(Throwable) - Method in class io.github.projectunified.faststats.errortracker.ErrorTracker
Tracks a handled error.
trackError(Throwable, boolean) - Method in class io.github.projectunified.faststats.errortracker.ErrorTracker
Tracks an error.
ttl(Duration) - Method in class io.github.projectunified.faststats.featureflag.FeatureFlagManager
Set the TTL for the cached flag values.

V

valueOf(String) - Static method in enum class io.github.projectunified.faststats.featureflag.FeatureFlag.Type
Returns the enum constant of this class with the specified name.
values() - Static method in enum class io.github.projectunified.faststats.featureflag.FeatureFlag.Type
Returns an array containing the constants of this enum class, in the order they are declared.
VelocityPlatform - Class in io.github.projectunified.faststats.velocity
Velocity implementation of Platform.
VelocityPlatform(ProxyServer, PluginContainer, Logger, Path) - Constructor for class io.github.projectunified.faststats.velocity.VelocityPlatform
Constructs a new VelocityPlatform for the given plugin.

W

whenReady() - Method in class io.github.projectunified.faststats.featureflag.FeatureFlag
Return a future that completes with the flag value once it is ready.
A B C D E F G H I L M N O P R S T V W 
All Classes and Interfaces|All Packages|Constant Field Values