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

A

alias(String, String) - Static method in class com.github.segmentio.Analytics
Aliases an anonymous user into an identified user.
alias(String, String, DateTime) - Static method in class com.github.segmentio.Analytics
Aliases an anonymous user into an identified user.
alias(String, String, Context) - Static method in class com.github.segmentio.Analytics
Aliases an anonymous user into an identified user.
alias(String, String, DateTime, Context) - Static method in class com.github.segmentio.Analytics
Aliases an anonymous user into an identified user.
alias(String, String, DateTime, Context, Callback) - Static 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, DateTime) - Method in class com.github.segmentio.AnalyticsClient
Aliases an anonymous user into an identified user.
alias(String, String, Context) - Method in class com.github.segmentio.AnalyticsClient
Aliases an anonymous user into an identified user.
alias(String, String, DateTime, Context) - Method in class com.github.segmentio.AnalyticsClient
Aliases an anonymous user into an identified user.
alias(String, String, DateTime, Context, Callback) - 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, DateTime, Context, Callback) - 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, Options) - 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

BasePayload - Class in com.github.segmentio.models
The base model for for Track / Identify payload
BasePayload(String, DateTime, Context, Callback) - Constructor for class com.github.segmentio.models.BasePayload
 
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

Callback - Interface in com.github.segmentio.models
Response callback from the server.
clear() - Method in class com.github.segmentio.stats.Statistic
 
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
 
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
 
EventProperties - Class in com.github.segmentio.models
 
EventProperties(Object...) - Constructor for class com.github.segmentio.models.EventProperties
 
executeRequest(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
 
getAverage() - Method in class com.github.segmentio.stats.Statistic
Get the average value
getBatch() - Method in class com.github.segmentio.models.Batch
 
getCallback() - Method in class com.github.segmentio.models.BasePayload
 
getContext() - Method in class com.github.segmentio.models.BasePayload
 
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
 
getFrom() - Method in class com.github.segmentio.models.Alias
 
getHost() - Method in class com.github.segmentio.Options
 
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
 
getIp() - Method in class com.github.segmentio.models.Context
 
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.Options
 
getMin() - Method in class com.github.segmentio.stats.Statistic
Get the minimum value
getOptions() - Method in class com.github.segmentio.AnalyticsClient
 
getProperties() - Method in class com.github.segmentio.models.Track
 
getQueued() - Method in class com.github.segmentio.stats.AnalyticsStatistics
 
getRequestId() - Method in class com.github.segmentio.models.BasePayload
 
getRequestTime() - Method in class com.github.segmentio.stats.AnalyticsStatistics
 
getRequestTimestamp() - 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.Options
 
getTimestamp() - Method in class com.github.segmentio.models.BasePayload
 
getTo() - Method in class com.github.segmentio.models.Alias
 
getTracks() - Method in class com.github.segmentio.stats.AnalyticsStatistics
 
getTraits() - Method in class com.github.segmentio.models.Identify
 
getUserId() - Method in class com.github.segmentio.models.BasePayload
 
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
 
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, Traits) - Static 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, Context) - Static 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, DateTime, Context) - Static 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, DateTime, Context, Callback) - Static 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.AnalyticsClient
Identifying a user ties all of their actions to an id, and associates user traits to that id.
identify(String, Traits, Context) - 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, DateTime, Context) - 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, DateTime, Context, Callback) - 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, DateTime, Context, Callback) - 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, Options) - 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

onResponse(boolean, String) - Method in interface com.github.segmentio.models.Callback
Called when a response is received from the server.
Options - Class in com.github.segmentio
Segment.io client options
Options() - Constructor for class com.github.segmentio.Options
Creates a default options

P

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
 
Providers - Class in com.github.segmentio.models
A context containers that helps specify which providers are enabled or disabled.
Providers() - Constructor for class com.github.segmentio.models.Providers
 
put(String, Object) - Method in class com.github.segmentio.models.Context
 
put(String, Object) - Method in class com.github.segmentio.models.EventProperties
 
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
 
run() - Method in class com.github.segmentio.flush.Flusher
 

S

send(Batch) - Method in class com.github.segmentio.request.BlockingRequester
 
send(Batch) - Method in interface com.github.segmentio.request.IRequester
 
serialize(DateTime, Type, JsonSerializationContext) - Method in class com.github.segmentio.gson.DateTimeTypeConverter
 
set() - Method in class com.github.segmentio.utils.ManualResetEvent
 
setBatch(List<BasePayload>) - Method in class com.github.segmentio.models.Batch
 
setCallback(Callback) - Method in class com.github.segmentio.models.BasePayload
 
setContext(Context) - Method in class com.github.segmentio.models.BasePayload
 
setDefault(boolean) - Method in class com.github.segmentio.models.Providers
Sets all providers as enabled or disabled for default.
setEnabled(String, boolean) - Method in class com.github.segmentio.models.Providers
Set a specific provider as enabled or disabled for this call.
setEvent(String) - Method in class com.github.segmentio.models.Track
 
setFrom(String) - Method in class com.github.segmentio.models.Alias
 
setHost(String) - Method in class com.github.segmentio.Options
Sets the REST API endpoint
setIp(String) - Method in class com.github.segmentio.models.Context
 
setMaxQueueSize(int) - Method in class com.github.segmentio.Options
Sets the maximum queue capacity, which is an emergency pressure relief valve.
setProperties(EventProperties) - Method in class com.github.segmentio.models.Track
 
setProviders(Providers) - Method in class com.github.segmentio.models.Context
 
setRequestId(String) - Method in class com.github.segmentio.models.BasePayload
 
setRequestTimestamp(DateTime) - Method in class com.github.segmentio.models.Batch
 
setTimeout(int) - Method in class com.github.segmentio.Options
Sets the milliseconds to wait before a flush is marked as timed out.
setTimestamp(DateTime) - Method in class com.github.segmentio.models.BasePayload
 
setTo(String) - Method in class com.github.segmentio.models.Alias
 
setTraits(Traits) - Method in class com.github.segmentio.models.Identify
 
setUserId(String) - Method in class com.github.segmentio.models.BasePayload
 
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, EventProperties) - Static method in class com.github.segmentio.Analytics
Whenever a user triggers an event, you’ll want to track it.
track(String, String) - Static method in class com.github.segmentio.Analytics
Whenever a user triggers an event, you’ll want to track it.
track(String, String, EventProperties, DateTime) - Static method in class com.github.segmentio.Analytics
Whenever a user triggers an event, you’ll want to track it.
track(String, String, EventProperties, DateTime, Context) - Static method in class com.github.segmentio.Analytics
Whenever a user triggers an event, you’ll want to track it.
track(String, String, EventProperties, DateTime, Context, Callback) - Static 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, EventProperties) - Method in class com.github.segmentio.AnalyticsClient
Whenever a user triggers an event, you’ll want to track it.
track(String, String, EventProperties, DateTime) - Method in class com.github.segmentio.AnalyticsClient
Whenever a user triggers an event, you’ll want to track it.
track(String, String, EventProperties, DateTime, Context) - Method in class com.github.segmentio.AnalyticsClient
Whenever a user triggers an event, you’ll want to track it.
track(String, String, EventProperties, DateTime, Context, Callback) - 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, EventProperties, DateTime, Context, Callback) - 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
 
updateIdentifies(double) - Method in class com.github.segmentio.stats.AnalyticsStatistics
 
updateInserted(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
 
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 

Copyright © 2014. All Rights Reserved.