A B C E F G H I L M N P R S T U 

A

activate(ApiConfiguration) - Method in class com.stackify.api.common.log.LogAppender
Activates the appender
addLogMsg(LogMsg) - Method in class com.stackify.api.common.log.LogCollector
Queues logMsg to be sent
ApiConfiguration - Class in com.stackify.api.common
ApiConfiguration
ApiConfiguration.Builder - Class in com.stackify.api.common
ApiConfiguration.Builder separates the construction of a ApiConfiguration from its representation
ApiConfiguration.Builder() - Constructor for class com.stackify.api.common.ApiConfiguration.Builder
 
ApiConfigurations - Class in com.stackify.api.common
ApiConfigurations
apiKey(String) - Method in class com.stackify.api.common.ApiConfiguration.Builder
Sets the builder's apiKey
apiUrl(String) - Method in class com.stackify.api.common.ApiConfiguration.Builder
Sets the builder's apiUrl
append(T) - Method in class com.stackify.api.common.log.LogAppender
Adds the log message to the collector
appendError(T) - Method in class com.stackify.api.common.log.LogAppender
Adds the log message to the collector
AppIdentityService - Class in com.stackify.api.common
AppIdentityService
AppIdentityService(ApiConfiguration, ObjectMapper) - Constructor for class com.stackify.api.common.AppIdentityService
Constructor
application(String) - Method in class com.stackify.api.common.ApiConfiguration.Builder
Sets the builder's application

B

build() - Method in class com.stackify.api.common.ApiConfiguration.Builder
 

C

clear() - Static method in class com.stackify.api.common.log.ServletLogContext
Removes our properties from the MDC
close() - Method in class com.stackify.api.common.log.LogAppender
 
com.stackify.api.common - package com.stackify.api.common
 
com.stackify.api.common.codec - package com.stackify.api.common.codec
 
com.stackify.api.common.error - package com.stackify.api.common.error
 
com.stackify.api.common.http - package com.stackify.api.common.http
 
com.stackify.api.common.lang - package com.stackify.api.common.lang
 
com.stackify.api.common.log - package com.stackify.api.common.log
 

E

envDetail(EnvironmentDetail) - Method in class com.stackify.api.common.ApiConfiguration.Builder
Sets the builder's envDetail
environment(String) - Method in class com.stackify.api.common.ApiConfiguration.Builder
Sets the builder's environment
EnvironmentDetails - Class in com.stackify.api.common
Utility class for retrieving environment details and building an EnvironmentDetail object
ErrorCounter - Class in com.stackify.api.common.error
ErrorCounter
ErrorCounter() - Constructor for class com.stackify.api.common.error.ErrorCounter
 
ErrorCounter.MinuteCounter - Class in com.stackify.api.common.error
Unix epoch minute and error count for that minute
ErrorGovernor - Class in com.stackify.api.common.error
Utility class for limiting transmission of duplicate errors
ErrorGovernor() - Constructor for class com.stackify.api.common.error.ErrorGovernor
 
errorShouldBeSent(StackifyError) - Method in class com.stackify.api.common.error.ErrorGovernor
Determines if the error should be sent based on our throttling criteria
EventAdapter<T> - Interface in com.stackify.api.common.log
EventAdapter

F

flush(LogSender) - Method in class com.stackify.api.common.log.LogCollector
Flushes the queue by sending all messages to Stackify
fromProperties() - Static method in class com.stackify.api.common.ApiConfigurations
 
fromPropertiesWithOverrides(String, String, String, String) - Static method in class com.stackify.api.common.ApiConfigurations
Explicitly configure the API

G

getApiKey() - Method in class com.stackify.api.common.ApiConfiguration
 
getApiUrl() - Method in class com.stackify.api.common.ApiConfiguration
 
getAppIdentity(String) - Method in class com.stackify.api.common.AppIdentityService
Retrieves the application identity given the environment details
getAppIdentity() - Method in class com.stackify.api.common.AppIdentityService
 
getApplication() - Method in class com.stackify.api.common.ApiConfiguration
 
getBaseError(StackifyError) - Static method in class com.stackify.api.common.error.ErrorCounter
Gets the base error (the last error in the causal chain)
getCausalChain(Throwable) - Static method in class com.stackify.api.common.lang.Throwables
Returns the Throwable's cause chain as a list.
getEnvDetail() - Method in class com.stackify.api.common.ApiConfiguration
 
getEnvironment() - Method in class com.stackify.api.common.ApiConfiguration
 
getEnvironmentDetail(String, String) - Static method in class com.stackify.api.common.EnvironmentDetails
Creates an environment details object with system information
getEpochMinute() - Method in class com.stackify.api.common.error.ErrorCounter.MinuteCounter
 
getErrorCount() - Method in class com.stackify.api.common.error.ErrorCounter.MinuteCounter
 
getLastHttpError() - Method in class com.stackify.api.common.log.LogBackgroundServiceScheduler
 
getLogMsg(T, Optional<StackifyError>) - Method in interface com.stackify.api.common.log.EventAdapter
Builds a LogMsg from the logging event
getNextSchedule() - Method in class com.stackify.api.common.log.LogBackgroundServiceScheduler
 
getScheduleDelay() - Method in class com.stackify.api.common.log.LogBackgroundServiceScheduler
 
getStackifyError(T, Throwable) - Method in interface com.stackify.api.common.log.EventAdapter
Builds a StackifyError from the logging event
getStatusCode() - Method in exception com.stackify.api.common.http.HttpException
 
getThrowable(T) - Method in interface com.stackify.api.common.log.EventAdapter
Gets the Throwable (optional) from the logging event
getTransactionId() - Static method in class com.stackify.api.common.log.ServletLogContext
 
getUniqueKey(ErrorItem) - Static method in class com.stackify.api.common.error.ErrorCounter
Generates a unique key based on the error.
getUser() - Static method in class com.stackify.api.common.log.ServletLogContext
 
getWebRequest() - Static method in class com.stackify.api.common.log.ServletLogContext
 

H

HttpClient - Class in com.stackify.api.common.http
HttpClient
HttpClient(ApiConfiguration) - Constructor for class com.stackify.api.common.http.HttpClient
Constructor
HttpException - Exception in com.stackify.api.common.http
HttpException
HttpException(int) - Constructor for exception com.stackify.api.common.http.HttpException
Constructor

I

incrementCounter(StackifyError, long) - Method in class com.stackify.api.common.error.ErrorCounter
Increments the counter for this error in the epoch minute specified
incrementCounter(ErrorCounter.MinuteCounter) - Static method in class com.stackify.api.common.error.ErrorCounter.MinuteCounter
Constructs a new minute counter from the existing counter with the count incremented

L

LogAppender<T> - Class in com.stackify.api.common.log
LogAppender
LogAppender(String, EventAdapter<T>) - Constructor for class com.stackify.api.common.log.LogAppender
Constructor
LogBackgroundService - Class in com.stackify.api.common.log
LogSenderService
LogBackgroundService(LogCollector, LogSender) - Constructor for class com.stackify.api.common.log.LogBackgroundService
Constructor
LogBackgroundServiceScheduler - Class in com.stackify.api.common.log
LogBackgroundServiceScheduler
LogBackgroundServiceScheduler() - Constructor for class com.stackify.api.common.log.LogBackgroundServiceScheduler
 
LogCollector - Class in com.stackify.api.common.log
LogCollector
LogCollector(String, EnvironmentDetail, AppIdentityService) - Constructor for class com.stackify.api.common.log.LogCollector
Constructor
LogSender - Class in com.stackify.api.common.log
LogSender
LogSender(ApiConfiguration, ObjectMapper) - Constructor for class com.stackify.api.common.log.LogSender
Default constructor

M

md5Hex(String) - Static method in class com.stackify.api.common.codec.MessageDigests
Generates an MD5 hash hex string for the input string
MessageDigests - Class in com.stackify.api.common.codec
Utility class for functions on MessageDigest objects

N

newBuilder() - Static method in class com.stackify.api.common.ApiConfiguration
 
newMinuteCounter(long) - Static method in class com.stackify.api.common.error.ErrorCounter.MinuteCounter
Constructs a new minute counter for the specified minute

P

post(String, byte[]) - Method in class com.stackify.api.common.http.HttpClient
Posts data to stackify
post(String, byte[], boolean) - Method in class com.stackify.api.common.http.HttpClient
Posts data to stackify
purgeCounters(long) - Method in class com.stackify.api.common.error.ErrorCounter
Purges the errorCounter map of expired entries
putTransactionId(String) - Static method in class com.stackify.api.common.log.ServletLogContext
Sets the transaction id in the logging context
putUser(String) - Static method in class com.stackify.api.common.log.ServletLogContext
Sets the user in the logging context
putWebRequest(WebRequestDetail) - Static method in class com.stackify.api.common.log.ServletLogContext
Sets the web request in the logging context

R

runOneIteration() - Method in class com.stackify.api.common.log.LogBackgroundService
 

S

scheduler() - Method in class com.stackify.api.common.log.LogBackgroundService
 
send(LogMsgGroup) - Method in class com.stackify.api.common.log.LogSender
Sends a group of log messages to Stackify
serviceName() - Method in class com.stackify.api.common.log.LogBackgroundService
 
ServletLogContext - Class in com.stackify.api.common.log
ServletLogContext
ServletLogContext() - Constructor for class com.stackify.api.common.log.ServletLogContext
 
shutDown() - Method in class com.stackify.api.common.log.LogBackgroundService
 
StackTraceElements - Class in com.stackify.api.common.lang
Utility class for converting a StackTraceElement object to an TraceFrame object

T

Throwables - Class in com.stackify.api.common.lang
Utility class for converting a Throwable object to an ErrorItem object
toBuilder() - Method in class com.stackify.api.common.ApiConfiguration
 
toErrorItem(String, Throwable) - Static method in class com.stackify.api.common.lang.Throwables
Converts a Throwable to an ErrorItem
toErrorItem(Throwable) - Static method in class com.stackify.api.common.lang.Throwables
Converts a Throwable to an ErrorItem
toString() - Method in class com.stackify.api.common.ApiConfiguration
 
toTraceFrame(StackTraceElement) - Static method in class com.stackify.api.common.lang.StackTraceElements
Converts a StackTraceElement to a TraceFrame

U

update(int) - Method in class com.stackify.api.common.log.LogBackgroundServiceScheduler
Sets the next scheduled delay based on the number of messages sent
update(Throwable) - Method in class com.stackify.api.common.log.LogBackgroundServiceScheduler
Sets the next scheduled delay based on the HTTP transmission status
A B C E F G H I L M N P R S T U 

Copyright © 2014 Stackify, LLC. All Rights Reserved.