Package com.variant.server.spi
package com.variant.server.spi
Top level classes in the Variant server-side service program interface (SPI).
User code consuming this SPI by implementing lifecycle hooks or trace event flushers.
These implementations are placed in the server's
spi
directory, where
they can be found by the class loader.
Lifecycle hooks are listeners for server-raised lifecycle events which provide a convenient way of extending Variant server's default behavior with application specific semantics. Event flushers are responsible for final egestion of Variant trace events. The standard extension library, contains several popular event flushers, such as one for the PostgreSQL database.
- Since:
- 0.7
-
ClassDescriptionVariant Server's runtime configuration currently in effect.An enriched Variant trace event that is passed to a trace event flusher.Ultimate super-type of all lifecycle event types.Lifecycle event, raised when a user session's qualification for a particular experiment must be established.The super-type for of Variant server exception.User session.Super-type of all lifecycle event types, whose runtime context includes a particular state.State request, as returned by
Session.getStateRequest()
.Lifecycle event raised when Variant is about to target a user session for a experiment, after the session has already been qualified for this experiment.A Variant trace event, that can be triggered either explicitly or is created and triggered implicitly by Variant Server.Interface to be implemented by a user-supplied class, handling the writing of trace events to external storage.Super-type of all lifecycle event types, whose runtime context includes a particular experiment.