Package com.dynatrace.openkit.protocol
Interface BeaconInitializer
-
- All Known Implementing Classes:
SessionCreatorImpl
public interface BeaconInitializerProvides relevant data for initializing/creating aBeacon
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BeaconCachegetBeaconCache()Returns the cache where the data of the beacon is stored until it gets sent.java.lang.StringgetClientIpAddress()Returns the client IP address of the session / beacon.LoggergetLogger()Returns the logger for reporting messages.RandomNumberGeneratorgetRandomNumberGenerator()Returns theRandomNumberGeneratorto obtain random numbers (e.g.SessionIDProvidergetSessionIdProvider()Returns theSessionIDProviderto obtain the identifier of the session / beaconintgetSessionSequenceNumber()Returns the sequence number for the beacon/session for identification in case of session split by events.SupplementaryBasicDatagetSupplementaryBasicData()Returns theSupplementaryBasicDatato obtain additional mutable basic dataThreadIDProvidergetThreadIdProvider()Returns theThreadIDProviderto obtain the identifier of the current thread.TimingProvidergetTimingProvider()Returns theTimingProviderto obtain the current timestamp.
-
-
-
Method Detail
-
getLogger
Logger getLogger()
Returns the logger for reporting messages.
-
getBeaconCache
BeaconCache getBeaconCache()
Returns the cache where the data of the beacon is stored until it gets sent.
-
getClientIpAddress
java.lang.String getClientIpAddress()
Returns the client IP address of the session / beacon.
-
getSessionIdProvider
SessionIDProvider getSessionIdProvider()
Returns theSessionIDProviderto obtain the identifier of the session / beacon
-
getSessionSequenceNumber
int getSessionSequenceNumber()
Returns the sequence number for the beacon/session for identification in case of session split by events. The session sequence number complements the session ID.
-
getThreadIdProvider
ThreadIDProvider getThreadIdProvider()
Returns theThreadIDProviderto obtain the identifier of the current thread.
-
getTimingProvider
TimingProvider getTimingProvider()
Returns theTimingProviderto obtain the current timestamp.
-
getRandomNumberGenerator
RandomNumberGenerator getRandomNumberGenerator()
Returns theRandomNumberGeneratorto obtain random numbers (e.g. for randomizing device IDs)
-
getSupplementaryBasicData
SupplementaryBasicData getSupplementaryBasicData()
Returns theSupplementaryBasicDatato obtain additional mutable basic data
-
-