Skip navigation links
A B C D E F G H I L M O P R S T U V W 

A

alias(String, String) - Method in class com.github.segmentio.Analytics
Aliases an anonymous user into an identified user.
alias(String, String, Options) - Method in class com.github.segmentio.Analytics
Aliases an anonymous user into an identified user.
alias(String, String) - Method in class com.github.segmentio.AnalyticsClient
Aliases an anonymous user into an identified user.
alias(String, String, Options) - Method in class com.github.segmentio.AnalyticsClient
Aliases an anonymous user into an identified user.
Alias - Class in com.github.segmentio.models
 
Alias(String, String, Options) - Constructor for class com.github.segmentio.models.Alias
 
allowed(Object) - Method in class com.github.segmentio.models.Props
 
Analytics - Class in com.github.segmentio
 
Analytics() - Constructor for class com.github.segmentio.Analytics
 
AnalyticsClient - Class in com.github.segmentio
The Segment.io Client - Instantiate this to use the Segment.io API.
AnalyticsClient(String) - Constructor for class com.github.segmentio.AnalyticsClient
Creates a new Segment.io client.
AnalyticsClient(String, Config) - Constructor for class com.github.segmentio.AnalyticsClient
Creates a new Segment.io client.
AnalyticsStatistics - Class in com.github.segmentio.stats
 
AnalyticsStatistics() - Constructor for class com.github.segmentio.stats.AnalyticsStatistics
 

B

BACKOFF - Static variable in class com.github.segmentio.Defaults
 
BasePayload - Class in com.github.segmentio.models
The base model for a Segment.io API payload
BasePayload(String, Options) - Constructor for class com.github.segmentio.models.BasePayload
 
BasePayloadTypeAdapter - Class in com.github.segmentio.gson
 
BasePayloadTypeAdapter() - Constructor for class com.github.segmentio.gson.BasePayloadTypeAdapter
 
Batch - Class in com.github.segmentio.models
 
Batch(String, List<BasePayload>) - Constructor for class com.github.segmentio.models.Batch
 
BATCH_INCREMENT - Static variable in class com.github.segmentio.Constants
The amount of items we send in each batch
BlockingRequester - Class in com.github.segmentio.request
 
BlockingRequester(AnalyticsClient) - Constructor for class com.github.segmentio.request.BlockingRequester
 
BUILDER - Static variable in class com.github.segmentio.utils.GSONUtils
 

C

clear() - Method in class com.github.segmentio.stats.Statistic
 
client - Variable in class com.github.segmentio.request.BlockingRequester
 
close() - Static method in class com.github.segmentio.Analytics
Closes the threads associated with the client
close() - Method in class com.github.segmentio.AnalyticsClient
Closes the queue and the threads associated with flushing the queue
close() - Method in class com.github.segmentio.flush.Flusher
 
close() - Method in class com.github.segmentio.request.BlockingRequester
 
close() - Method in interface com.github.segmentio.request.IRequester
 
com.github.segmentio - package com.github.segmentio
 
com.github.segmentio.flush - package com.github.segmentio.flush
 
com.github.segmentio.gson - package com.github.segmentio.gson
 
com.github.segmentio.models - package com.github.segmentio.models
 
com.github.segmentio.request - package com.github.segmentio.request
 
com.github.segmentio.stats - package com.github.segmentio.stats
 
com.github.segmentio.utils - package com.github.segmentio.utils
 
Config - Class in com.github.segmentio
Segment.io client options
Config() - Constructor for class com.github.segmentio.Config
Creates a default options
Constants - Class in com.github.segmentio
 
Constants() - Constructor for class com.github.segmentio.Constants
 
Context - Class in com.github.segmentio.models
 
Context() - Constructor for class com.github.segmentio.models.Context
 
Context(Object...) - Constructor for class com.github.segmentio.models.Context
 
create(List<BasePayload>) - Method in interface com.github.segmentio.flush.IBatchFactory
Creates a batch model around a list of items

D

DateTimeTypeConverter - Class in com.github.segmentio.gson
 
DateTimeTypeConverter() - Constructor for class com.github.segmentio.gson.DateTimeTypeConverter
 
Defaults - Class in com.github.segmentio
 
Defaults() - Constructor for class com.github.segmentio.Defaults
 

E

enqueue(BasePayload) - Method in class com.github.segmentio.flush.Flusher
 
ensure(String) - Method in class com.github.segmentio.stats.Statistics
 
executeRequest(String, String) - Method in class com.github.segmentio.request.BlockingRequester
 

F

flush() - Static method in class com.github.segmentio.Analytics
Blocks until all messages in the queue are flushed.
flush() - Method in class com.github.segmentio.AnalyticsClient
Blocks until all messages in the queue are flushed.
flush() - Method in class com.github.segmentio.flush.Flusher
 
Flusher - Class in com.github.segmentio.flush
 
Flusher(AnalyticsClient, IBatchFactory, IRequester) - Constructor for class com.github.segmentio.flush.Flusher
 

G

getAlias() - Method in class com.github.segmentio.stats.AnalyticsStatistics
 
getAnonymousId() - Method in class com.github.segmentio.models.BasePayload
 
getAnonymousId() - Method in class com.github.segmentio.models.Options
 
getAverage() - Method in class com.github.segmentio.stats.Statistic
Get the average value
getBackoff() - Method in class com.github.segmentio.Config
 
getBatch() - Method in class com.github.segmentio.models.Batch
 
getCategory() - Method in class com.github.segmentio.models.Page
 
getCategory() - Method in class com.github.segmentio.models.Screen
 
getContext() - Method in class com.github.segmentio.models.BasePayload
 
getContext() - Method in class com.github.segmentio.models.Options
 
getCount() - Method in class com.github.segmentio.stats.Statistic
Get the total amount of values that represent this statistic
getDefaultClient() - Static method in class com.github.segmentio.Analytics
Fetches the default analytics client singleton
getDropped() - Method in class com.github.segmentio.stats.AnalyticsStatistics
Get the amount of messages that were dropped because the queue was too high
getEvent() - Method in class com.github.segmentio.models.Track
 
getFailed() - Method in class com.github.segmentio.stats.AnalyticsStatistics
 
getFlushAttempts() - Method in class com.github.segmentio.stats.AnalyticsStatistics
 
getGroup() - Method in class com.github.segmentio.stats.AnalyticsStatistics
 
getGroupId() - Method in class com.github.segmentio.models.Group
 
getHost() - Method in class com.github.segmentio.Config
 
getIdentifies() - Method in class com.github.segmentio.stats.AnalyticsStatistics
Returns the statistic representing how many Analytics.identify(String, com.github.segmentio.models.Traits) calls happened
getInserted() - Method in class com.github.segmentio.stats.AnalyticsStatistics
 
getIntegrations() - Method in class com.github.segmentio.models.BasePayload
 
getIntegrations() - Method in class com.github.segmentio.models.Options
 
getLast() - Method in class com.github.segmentio.stats.Statistic
Gets the latest value
getMax() - Method in class com.github.segmentio.stats.Statistic
Get the maximum value
getMaxQueueSize() - Method in class com.github.segmentio.Config
 
getMessageId() - Method in class com.github.segmentio.models.BasePayload
 
getMessageId() - Method in class com.github.segmentio.models.Batch
 
getMin() - Method in class com.github.segmentio.stats.Statistic
Get the minimum value
getName() - Method in class com.github.segmentio.models.Page
 
getName() - Method in class com.github.segmentio.models.Screen
 
getOptions() - Method in class com.github.segmentio.AnalyticsClient
 
getPage() - Method in class com.github.segmentio.stats.AnalyticsStatistics
 
getPreviousId() - Method in class com.github.segmentio.models.Alias
 
getProperties() - Method in class com.github.segmentio.models.PropertyPayload
 
getProxy() - Method in class com.github.segmentio.Config
 
getQueued() - Method in class com.github.segmentio.stats.AnalyticsStatistics
 
getQueueDepth() - Method in class com.github.segmentio.AnalyticsClient
 
getQueueDepth() - Method in class com.github.segmentio.flush.Flusher
 
getRequestTime() - Method in class com.github.segmentio.stats.AnalyticsStatistics
 
getRetries() - Method in class com.github.segmentio.Config
 
getScreen() - Method in class com.github.segmentio.stats.AnalyticsStatistics
 
getSentAt() - Method in class com.github.segmentio.models.Batch
 
getStandardDeviation() - Method in class com.github.segmentio.stats.Statistic
Get the standard deviation of the stream of values
getStatistics() - Static method in class com.github.segmentio.Analytics
Returns statistics for the analytics client
getStatistics() - Method in class com.github.segmentio.AnalyticsClient
 
getSuccessful() - Method in class com.github.segmentio.stats.AnalyticsStatistics
 
getSum() - Method in class com.github.segmentio.stats.Statistic
Get the sum of the values representing this statistic
getTimeout() - Method in class com.github.segmentio.Config
 
getTimestamp() - Method in class com.github.segmentio.models.BasePayload
 
getTimestamp() - Method in class com.github.segmentio.models.Options
 
getTracks() - Method in class com.github.segmentio.stats.AnalyticsStatistics
 
getTraits() - Method in class com.github.segmentio.models.Group
 
getTraits() - Method in class com.github.segmentio.models.Identify
 
getType() - Method in class com.github.segmentio.models.BasePayload
 
getUserId() - Method in class com.github.segmentio.models.Alias
 
getUserId() - Method in class com.github.segmentio.models.Group
 
getUserId() - Method in class com.github.segmentio.models.Identify
 
getUserId() - Method in class com.github.segmentio.models.Page
 
getUserId() - Method in class com.github.segmentio.models.Screen
 
getUserId() - Method in class com.github.segmentio.models.Track
 
getVariance() - Method in class com.github.segmentio.stats.Statistic
Get the variance
getWriteKey() - Method in class com.github.segmentio.AnalyticsClient
 
getWriteKey() - Method in class com.github.segmentio.models.Batch
 
group(String, String, Traits) - Method in class com.github.segmentio.Analytics
The `group` method lets you associate a user with a group.
group(String, String, Traits, Options) - Method in class com.github.segmentio.Analytics
The `group` method lets you associate a user with a group.
group(String, String, Traits) - Method in class com.github.segmentio.AnalyticsClient
The `group` method lets you associate a user with a group.
group(String, String, Traits, Options) - Method in class com.github.segmentio.AnalyticsClient
The `group` method lets you associate a user with a group.
Group - Class in com.github.segmentio.models
 
Group(String, String, Traits, Options) - Constructor for class com.github.segmentio.models.Group
 
GSONUtils - Class in com.github.segmentio.utils
 
GSONUtils() - Constructor for class com.github.segmentio.utils.GSONUtils
 

H

HOST - Static variable in class com.github.segmentio.Defaults
 

I

IBatchFactory - Interface in com.github.segmentio.flush
A Factory that creates Batch objects
identify(String) - Method in class com.github.segmentio.Analytics
Identifying a user ties all of their actions to an id, and associates user traits to that id.
identify(String, Traits) - Method in class com.github.segmentio.Analytics
Identifying a user ties all of their actions to an id, and associates user traits to that id.
identify(String, Traits, Options) - Method in class com.github.segmentio.Analytics
Identifying a user ties all of their actions to an id, and associates user traits to that id.
identify(String) - Method in class com.github.segmentio.AnalyticsClient
Identifying a user ties all of their actions to an id, and associates user traits to that id.
identify(String, Traits) - Method in class com.github.segmentio.AnalyticsClient
Identifying a user ties all of their actions to an id, and associates user traits to that id.
identify(String, Traits, Options) - Method in class com.github.segmentio.AnalyticsClient
Identifying a user ties all of their actions to an id, and associates user traits to that id.
Identify - Class in com.github.segmentio.models
 
Identify(String, Traits, Options) - Constructor for class com.github.segmentio.models.Identify
 
initialize(String) - Static method in class com.github.segmentio.Analytics
Creates a new Segment.io client.
initialize(String, Config) - Static method in class com.github.segmentio.Analytics
Creates a new Segment.io client.
IRequester - Interface in com.github.segmentio.request
 
isSignalled() - Method in class com.github.segmentio.utils.ManualResetEvent
 

L

LOGGER - Static variable in class com.github.segmentio.Constants
The logger name

M

ManualResetEvent - Class in com.github.segmentio.utils
 
ManualResetEvent(boolean) - Constructor for class com.github.segmentio.utils.ManualResetEvent
 
MAX_QUEUE_SIZE - Static variable in class com.github.segmentio.Defaults
 

O

Options - Class in com.github.segmentio.models
Options object that allows the specification of a timestamp, an anonymousId, a context, or target integrations.
Options() - Constructor for class com.github.segmentio.models.Options
 

P

page(String, String) - Method in class com.github.segmentio.Analytics
The `page` method let your record whenever a user sees a web page on your web site, and attach a `name`, `category` or `properties` to the web page load.
page(String, String, Props) - Method in class com.github.segmentio.Analytics
The `page` method let your record whenever a user sees a web page on your web site, and attach a `name`, `category` or `properties` to the web page load.
page(String, String, Props, Options) - Method in class com.github.segmentio.Analytics
The `page` method let your record whenever a user sees a web page on your web site, and attach a `name`, `category` or `properties` to the web page load.
page(String, String, String, Props, Options) - Method in class com.github.segmentio.Analytics
The `page` method let your record whenever a user sees a web page on your web site, and attach a `name`, `category` or `properties` to the web page load.
page(String, String) - Method in class com.github.segmentio.AnalyticsClient
The `page` method let your record whenever a user sees a web page on your web site, and attach a `name`, `category` or `properties` to the web page load.
page(String, String, Props) - Method in class com.github.segmentio.AnalyticsClient
The `page` method let your record whenever a user sees a web page on your web site, and attach a `name`, `category` or `properties` to the web page load.
page(String, String, Props, Options) - Method in class com.github.segmentio.AnalyticsClient
The `page` method let your record whenever a user sees a web page on your web site, and attach a `name`, `category` or `properties` to the web page load.
page(String, String, String, Props, Options) - Method in class com.github.segmentio.AnalyticsClient
The `page` method let your record whenever a user sees a web page on your web site, and attach a `name`, `category` or `properties` to the web page load.
Page - Class in com.github.segmentio.models
 
Page(String, String, String, Props, Options) - Constructor for class com.github.segmentio.models.Page
 
PropertyPayload - Class in com.github.segmentio.models
A payload that has a list of properties
PropertyPayload(String, Props, Options) - Constructor for class com.github.segmentio.models.PropertyPayload
 
Props - Class in com.github.segmentio.models
 
Props() - Constructor for class com.github.segmentio.models.Props
 
Props(Object...) - Constructor for class com.github.segmentio.models.Props
 
put(String, Object) - Method in class com.github.segmentio.models.Context
 
put(String, Object) - Method in class com.github.segmentio.models.Props
 
put(String, Object) - Method in class com.github.segmentio.models.Traits
 

R

readResponseBody(HttpResponse) - Method in class com.github.segmentio.request.BlockingRequester
 
RequesterType - Enum in com.github.segmentio
 
reset() - Method in class com.github.segmentio.utils.ManualResetEvent
 
RETRIES - Static variable in class com.github.segmentio.Defaults
 
RetryingRequester - Class in com.github.segmentio.request
 
RetryingRequester(AnalyticsClient) - Constructor for class com.github.segmentio.request.RetryingRequester
 
run() - Method in class com.github.segmentio.flush.Flusher
 

S

screen(String, String) - Method in class com.github.segmentio.Analytics
The `screen` method let your record whenever a user sees a mobile screen, and attach a `name`, `category` or `properties` to the web page load.
screen(String, String, Props) - Method in class com.github.segmentio.Analytics
The `screen` method let your record whenever a user sees a mobile screen, and attach a `name`, `category` or `properties` to the web page load.
screen(String, String, Props, Options) - Method in class com.github.segmentio.Analytics
The `screen` method let your record whenever a user sees a mobile screen, and attach a `name`, `category` or `properties` to the web page load.
screen(String, String, String, Props, Options) - Method in class com.github.segmentio.Analytics
The `screen` method let your record whenever a user sees a mobile screen, and attach a `name`, `category` or `properties` to the web page load.
screen(String, String) - Method in class com.github.segmentio.AnalyticsClient
The `screen` method let your record whenever a user sees a mobile screen, and attach a `name`, `category` or `properties` to the web page load.
screen(String, String, Props) - Method in class com.github.segmentio.AnalyticsClient
The `screen` method let your record whenever a user sees a mobile screen, and attach a `name`, `category` or `properties` to the web page load.
screen(String, String, Props, Options) - Method in class com.github.segmentio.AnalyticsClient
The `screen` method let your record whenever a user sees a mobile screen, and attach a `name`, `category` or `properties` to the web page load.
screen(String, String, String, Props, Options) - Method in class com.github.segmentio.AnalyticsClient
The `screen` method let your record whenever a user sees a mobile screen, and attach a `name`, `category` or `properties` to the web page load.
Screen - Class in com.github.segmentio.models
 
Screen(String, String, String, Props, Options) - Constructor for class com.github.segmentio.models.Screen
 
send(Batch) - Method in class com.github.segmentio.request.BlockingRequester
 
send(Batch) - Method in interface com.github.segmentio.request.IRequester
 
send(Batch) - Method in class com.github.segmentio.request.RetryingRequester
 
serialize(BasePayload, Type, JsonSerializationContext) - Method in class com.github.segmentio.gson.BasePayloadTypeAdapter
 
serialize(DateTime, Type, JsonSerializationContext) - Method in class com.github.segmentio.gson.DateTimeTypeConverter
 
set() - Method in class com.github.segmentio.utils.ManualResetEvent
 
setAnonymousId(String) - Method in class com.github.segmentio.models.Options
Sets the cookie / anonymous Id of this visitor.
setBackoff(int) - Method in class com.github.segmentio.Config
Sets the milliseconds to wait between request retries
setBatch(List<BasePayload>) - Method in class com.github.segmentio.models.Batch
 
setCategory(String) - Method in class com.github.segmentio.models.Page
 
setCategory(String) - Method in class com.github.segmentio.models.Screen
 
setContext(Context) - Method in class com.github.segmentio.models.Options
Sets the context of this analytics call.
setEvent(String) - Method in class com.github.segmentio.models.Track
 
setGroupId(String) - Method in class com.github.segmentio.models.Group
 
setHost(String) - Method in class com.github.segmentio.Config
Sets the REST API endpoint
setIntegration(String, boolean) - Method in class com.github.segmentio.models.Options
Sets whether this call will be sent to the target integration.
setMaxQueueSize(int) - Method in class com.github.segmentio.Config
Sets the maximum queue capacity, which is an emergency pressure relief valve.
setMessageId(String) - Method in class com.github.segmentio.models.Batch
 
setName(String) - Method in class com.github.segmentio.models.Page
 
setName(String) - Method in class com.github.segmentio.models.Screen
 
setProperties(Props) - Method in class com.github.segmentio.models.PropertyPayload
 
setProxy(HttpHost) - Method in class com.github.segmentio.Config
Sets a proxy to route all requests to the host through.
setRetries(int) - Method in class com.github.segmentio.Config
Sets the amount of request retries.
setSentAt(DateTime) - Method in class com.github.segmentio.models.Batch
 
setTimeout(int) - Method in class com.github.segmentio.Config
Sets the milliseconds to wait before a flush is marked as timed out.
setTimestamp(DateTime) - Method in class com.github.segmentio.models.Options
Sets the timestamp of when an analytics call occurred.
setTraits(Traits) - Method in class com.github.segmentio.models.Group
 
setTraits(Traits) - Method in class com.github.segmentio.models.Identify
 
setUserId(String) - Method in class com.github.segmentio.models.Group
 
setUserId(String) - Method in class com.github.segmentio.models.Identify
 
setUserId(String) - Method in class com.github.segmentio.models.Page
 
setUserId(String) - Method in class com.github.segmentio.models.Screen
 
setUserId(String) - Method in class com.github.segmentio.models.Track
 
setWriteKey(String) - Method in class com.github.segmentio.AnalyticsClient
 
setWriteKey(String) - Method in class com.github.segmentio.models.Batch
 
Statistic - Class in com.github.segmentio.stats
A statistic that captures properties {min, max, avg, sum, std.dev} of a series of numeric values.
Statistic() - Constructor for class com.github.segmentio.stats.Statistic
 
Statistics - Class in com.github.segmentio.stats
 
Statistics() - Constructor for class com.github.segmentio.stats.Statistics
 

T

TIMEOUT - Static variable in class com.github.segmentio.Defaults
 
toString() - Method in class com.github.segmentio.stats.Statistic
 
toString() - Method in class com.github.segmentio.stats.Statistics
 
track(String, String) - Method in class com.github.segmentio.Analytics
Whenever a user triggers an event, you’ll want to track it.
track(String, String, Props) - Method in class com.github.segmentio.Analytics
Whenever a user triggers an event, you’ll want to track it.
track(String, String, Props, Options) - Method in class com.github.segmentio.Analytics
Whenever a user triggers an event, you’ll want to track it.
track(String, String) - Method in class com.github.segmentio.AnalyticsClient
Whenever a user triggers an event, you’ll want to track it.
track(String, String, Props) - Method in class com.github.segmentio.AnalyticsClient
Whenever a user triggers an event, you’ll want to track it.
track(String, String, Props, Options) - Method in class com.github.segmentio.AnalyticsClient
Whenever a user triggers an event, you’ll want to track it.
Track - Class in com.github.segmentio.models
 
Track(String, String, Props, Options) - Constructor for class com.github.segmentio.models.Track
 
Traits - Class in com.github.segmentio.models
 
Traits() - Constructor for class com.github.segmentio.models.Traits
 
Traits(Object...) - Constructor for class com.github.segmentio.models.Traits
 

U

update(double) - Method in class com.github.segmentio.stats.Statistic
Add another value to this statistic
update(String, double) - Method in class com.github.segmentio.stats.Statistics
 
updateAlias(double) - Method in class com.github.segmentio.stats.AnalyticsStatistics
 
updateDropped(double) - Method in class com.github.segmentio.stats.AnalyticsStatistics
 
updateFailed(double) - Method in class com.github.segmentio.stats.AnalyticsStatistics
 
updateFlushAttempts(double) - Method in class com.github.segmentio.stats.AnalyticsStatistics
 
updateGroup(double) - Method in class com.github.segmentio.stats.AnalyticsStatistics
 
updateIdentifies(double) - Method in class com.github.segmentio.stats.AnalyticsStatistics
 
updateInserted(double) - Method in class com.github.segmentio.stats.AnalyticsStatistics
 
updatePage(double) - Method in class com.github.segmentio.stats.AnalyticsStatistics
 
updateQueued(double) - Method in class com.github.segmentio.stats.AnalyticsStatistics
 
updateRequestTime(double) - Method in class com.github.segmentio.stats.AnalyticsStatistics
 
updateScreen(double) - Method in class com.github.segmentio.stats.AnalyticsStatistics
 
updateSuccessful(double) - Method in class com.github.segmentio.stats.AnalyticsStatistics
 
updateTracks(double) - Method in class com.github.segmentio.stats.AnalyticsStatistics
 

V

valueOf(String) - Static method in enum com.github.segmentio.RequesterType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.segmentio.RequesterType
Returns an array containing the constants of this enum type, in the order they are declared.
VERSION - Static variable in class com.github.segmentio.Analytics
 

W

waitOne() - Method in class com.github.segmentio.utils.ManualResetEvent
 
waitOne(int, TimeUnit) - Method in class com.github.segmentio.utils.ManualResetEvent
 
A B C D E F G H I L M O P R S T U V W 
Skip navigation links

Copyright © 2015. All Rights Reserved.