Skip navigation links
A B C D G H I K L P Q R S T U W 

A

AbstractHookQueue - Class in com.github.lookout.whoas
Interface defining how 'HookQueue' providers should behave This allows for different queueing implementations behind whoas
AbstractHookQueue() - Constructor for class com.github.lookout.whoas.AbstractHookQueue
 
AbstractHookRunner - Class in com.github.lookout.whoas
 
AbstractHookRunner(AbstractHookQueue) - Constructor for class com.github.lookout.whoas.AbstractHookRunner
 
AbstractHookRunner(AbstractHookQueue, Publisher) - Constructor for class com.github.lookout.whoas.AbstractHookRunner
 

B

buildQueue() - Method in class com.github.lookout.whoas.WhoasFactory
Allocate and return the queue based on stored queue type.
buildRunner(AbstractHookQueue) - Method in class com.github.lookout.whoas.WhoasFactory
Allocate and return runner based on stored runner type

C

call(HookRequest) - Method in interface com.github.lookout.whoas.QueueAction
 
call(Jedis) - Method in interface com.github.lookout.whoas.RedisQueueAction
 
com.github.lookout.whoas - package com.github.lookout.whoas
 
contentType - Variable in class com.github.lookout.whoas.HookRequest
 

D

deliverAfter - Variable in class com.github.lookout.whoas.HookRequest
 

G

getPublisher() - Method in class com.github.lookout.whoas.AbstractHookRunner
 
getSize() - Method in class com.github.lookout.whoas.AbstractHookQueue
 
getSize() - Method in class com.github.lookout.whoas.InMemoryQueue
Return the number of elements in the queue
getSize() - Method in class com.github.lookout.whoas.RedisQueue
Return the number of elements in the queue
getWhoasFactory(T) - Method in interface com.github.lookout.whoas.WhoasConfiguration
 

H

HookRequest - Class in com.github.lookout.whoas
 
HookRequest() - Constructor for class com.github.lookout.whoas.HookRequest
Constructor for Jackson
HookRequest(String, String, String) - Constructor for class com.github.lookout.whoas.HookRequest
Default constructor for creating a simple HookRequest with a URL and the POST data to be delivered to that URL
hostname - Variable in class com.github.lookout.whoas.WhoasQueueConfig
Hostname of the distributed queue server Default hostname is localhost

I

InMemoryQueue - Class in com.github.lookout.whoas
A simple in-memory queue that offers no persistence between process restarts
InMemoryQueue(WhoasQueueConfig) - Constructor for class com.github.lookout.whoas.InMemoryQueue
Create the InMemoryQueue from configuration
InMemoryQueue() - Constructor for class com.github.lookout.whoas.InMemoryQueue
Default constructor
InMemoryQueue(BlockingQueue<HookRequest>) - Constructor for class com.github.lookout.whoas.InMemoryQueue
Create the InMemoryQueue with the given Queue object

K

keepGoing - Variable in class com.github.lookout.whoas.AbstractHookRunner
 
key - Variable in class com.github.lookout.whoas.WhoasQueueConfig
key to idenitfy the distributed queue Default key is "queue"

L

logger - Variable in class com.github.lookout.whoas.WhoasFactory
 

P

pop(QueueAction) - Method in class com.github.lookout.whoas.AbstractHookQueue
 
pop(QueueAction) - Method in class com.github.lookout.whoas.InMemoryQueue
Performs a blocking pop on the queue and invokes the closure with the item popped from the queue If the Closure throws an exception, the dequeued item will be returned to the tail end of the queue
pop(QueueAction) - Method in class com.github.lookout.whoas.RedisQueue
Performs a blocking pop on the queue and invokes the closure with the item popped from the queue If the Closure throws an exception, the dequeued item will be returned to the tail end of the queue
port - Variable in class com.github.lookout.whoas.WhoasQueueConfig
Port number of the distributed queue server Default port is 6379 (i.e.
postData - Variable in class com.github.lookout.whoas.HookRequest
 
publish(HookRequest) - Method in class com.github.lookout.whoas.Publisher
Publish the request using the appropriate backoff and retry logic defined in the Whoas documentation
publisher - Variable in class com.github.lookout.whoas.AbstractHookRunner
 
Publisher - Class in com.github.lookout.whoas
Publisher is the class responsible for implementing the *actual* HTTP request logic for Whoas
Publisher() - Constructor for class com.github.lookout.whoas.Publisher
 
push(HookRequest) - Method in class com.github.lookout.whoas.AbstractHookQueue
 
push(HookRequest) - Method in class com.github.lookout.whoas.InMemoryQueue
Attempt to insert the request into the queue If the request cannot be inserted, this method will return false, otherwise true.
push(HookRequest) - Method in class com.github.lookout.whoas.RedisQueue
Attempt to insert the request into the queue If the request cannot be inserted, this method will return false, otherwise true.

Q

queue - Variable in class com.github.lookout.whoas.AbstractHookRunner
 
QueueAction - Interface in com.github.lookout.whoas
 
queueConfig - Variable in class com.github.lookout.whoas.WhoasFactory
Queue configuration

R

RedisQueue - Class in com.github.lookout.whoas
A redis queue that offers distributed and persistent queue
RedisQueue(WhoasQueueConfig) - Constructor for class com.github.lookout.whoas.RedisQueue
Create the RedisQueue with valid config
RedisQueue() - Constructor for class com.github.lookout.whoas.RedisQueue
Default constructor
RedisQueue(JedisPool) - Constructor for class com.github.lookout.whoas.RedisQueue
Allow users to provide their own JedisPool instance
RedisQueueAction<T> - Interface in com.github.lookout.whoas
 
retries - Variable in class com.github.lookout.whoas.HookRequest
 
run() - Method in class com.github.lookout.whoas.AbstractHookRunner
Block forever and run the runner's runloop.
run() - Method in class com.github.lookout.whoas.SequentialHookRunner
Execute an infinitely blocking single-threaded runloop
runnerType - Variable in class com.github.lookout.whoas.WhoasFactory
Type of runner to create in whoas.

S

SequentialHookRunner - Class in com.github.lookout.whoas
The SequentialHookRunner is will dequeue HookRequest items from the configured AbstractHookQueue and publish those webhooks sequentially.
SequentialHookRunner(AbstractHookQueue) - Constructor for class com.github.lookout.whoas.SequentialHookRunner
 
SequentialHookRunner(AbstractHookQueue, Publisher) - Constructor for class com.github.lookout.whoas.SequentialHookRunner
 
shouldRetry(Response) - Method in class com.github.lookout.whoas.Publisher
Determine whether this response meets our criteria for retry
start() - Method in class com.github.lookout.whoas.AbstractHookQueue
 
start() - Method in class com.github.lookout.whoas.RedisQueue
Setup the Redis client
started - Variable in class com.github.lookout.whoas.AbstractHookQueue
 
stop() - Method in class com.github.lookout.whoas.AbstractHookQueue
 
stop() - Method in class com.github.lookout.whoas.AbstractHookRunner
Tell the runloop to stop This will only come into effect after the runner has completed it's currently executing work
stop() - Method in class com.github.lookout.whoas.RedisQueue
Stop the Redis client

T

type - Variable in class com.github.lookout.whoas.WhoasQueueConfig
Type of queue (full class name) to create in whoas Default queue in whoas is InMemoryQueue

U

url - Variable in class com.github.lookout.whoas.HookRequest
 

W

WhoasConfiguration<T extends io.dropwizard.Configuration> - Interface in com.github.lookout.whoas
The interface to create the whoas factory based on configuration The client of whoas will call with the configuration to create the whoas factory.
WhoasFactory - Class in com.github.lookout.whoas
This factory will allow clients of whoas to build different queues like in memory, persistent etc and runners like sequential.
WhoasFactory() - Constructor for class com.github.lookout.whoas.WhoasFactory
 
WhoasQueueConfig - Class in com.github.lookout.whoas
Whoas Queue Configuration
WhoasQueueConfig() - Constructor for class com.github.lookout.whoas.WhoasQueueConfig
 
withRedis(RedisQueueAction) - Method in class com.github.lookout.whoas.RedisQueue
Allocate redis client from the pool
A B C D G H I K L P Q R S T U W 
Skip navigation links