public class UsageStatistics extends Object
Statistics gathering is automatically disabled and excluded in production mode.
For details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.
For internal use only. May be renamed or removed in a future release.
| Modifier and Type | Class and Description |
|---|---|
static class |
UsageStatistics.UsageEntry
A usage statistics entry.
|
| Modifier and Type | Method and Description |
|---|---|
static Stream<UsageStatistics.UsageEntry> |
getEntries()
Gets a stream of the current usage entries.
|
static void |
markAsUsed(String name,
String version)
Registers a new entry with the given feature name and version string if
no previous entry has been registered for the same name.
|
public static void markAsUsed(String name, String version)
name - the feature name, not nullversion - the version, or null to use the current Flow
versionpublic static Stream<UsageStatistics.UsageEntry> getEntries()
nullCopyright © 2025. All rights reserved.