public class ClientHistoryAndTelemetryTracker
extends java.lang.Object
implements java.io.Closeable
Telemetry counters are accumulated in memory and periodically transmitted to the backend via a background executor to minimize network overhead.
| Constructor and Description |
|---|
ClientHistoryAndTelemetryTracker(ClientContextI _ctx,
SessionI _session) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Releases background resources and terminates scheduled telemetry synchronization.
|
void |
initHistoryActions() |
void |
trackLRUAccess(Formular form,
java.lang.Long boId,
java.lang.String title,
FormContextI ftx)
Registers form access for a specific business object instance in the LRU menu.
|
void |
trackLRUAccess(Lesezeichen bookmark,
java.lang.String title)
Registers access to a bookmark within the client LRU history menu.
|
void |
trackLRUAccess(Report report,
java.lang.String title)
Registers report generation or preview in the client LRU menu.
|
void |
trackReadAccess(Struktur structure)
Records read access for a structure element to update local usage counters.
|
public ClientHistoryAndTelemetryTracker(ClientContextI _ctx, SessionI _session)
public void close()
Performs a final synchronous telemetry flush to persist pending metrics before terminating the background executor. Guarded against repeated execution.
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablepublic void initHistoryActions()
public void trackReadAccess(Struktur structure)
structure - the structure element accessed by the userpublic void trackLRUAccess(Lesezeichen bookmark, java.lang.String title)
bookmark - the accessed bookmarktitle - the explicit display label, or null to derive from element metadatapublic void trackLRUAccess(Formular form, java.lang.Long boId, java.lang.String title, FormContextI ftx)
form - the opened form definitionboId - the persistent ID of the edited business object, or null/transienttitle - explicit display title, or null to derive from form and BO stateftx - the active form context, used to inspect transient BO propertiespublic void trackLRUAccess(Report report, java.lang.String title)
report - the executed report definitiontitle - explicit report label, or null to derive from report metadataCopyright © 2000-2026 OAshi S.à r.l. All Rights Reserved.