Skip navigation links
A B C D E F G H L O Q R S T W 

A

acquire(Lease) - Method in class org.hawkular.metrics.tasks.impl.LeaseService
 
acquire(Lease, int) - Method in class org.hawkular.metrics.tasks.impl.LeaseService
 
acquireLease - Variable in class org.hawkular.metrics.tasks.impl.Queries
 
autoRenew(Lease) - Method in class org.hawkular.metrics.tasks.impl.LeaseService
Schedules the lease to be automatically renewed every LeaseService.DEFAULT_RENEWAL_RATE seconds in a background thread.

B

build() - Method in class org.hawkular.metrics.tasks.api.TaskServiceBuilder
 

C

createLease - Variable in class org.hawkular.metrics.tasks.impl.Queries
 
createTask(String, String, int, int) - Method in class org.hawkular.metrics.tasks.api.TaskType
A factory method for creating tasks of this type.
createTask - Variable in class org.hawkular.metrics.tasks.impl.Queries
 
createTaskWithFailures - Variable in class org.hawkular.metrics.tasks.impl.Queries
 
current24HourTimeSlice() - Method in class org.hawkular.metrics.tasks.DateTimeService
The 24 hour time slices are fix - 00:00 to 24:00.
currentHour() - Method in class org.hawkular.metrics.tasks.DateTimeService
 

D

DateTimeService - Class in org.hawkular.metrics.tasks
 
DateTimeService() - Constructor for class org.hawkular.metrics.tasks.DateTimeService
 
DEFAULT_LEASE_TTL - Static variable in class org.hawkular.metrics.tasks.impl.LeaseService
 
DEFAULT_RENEWAL_RATE - Static variable in class org.hawkular.metrics.tasks.impl.LeaseService
 
deleteLeases(DateTime) - Method in class org.hawkular.metrics.tasks.impl.LeaseService
 
deleteLeases - Variable in class org.hawkular.metrics.tasks.impl.Queries
 
deleteTasks - Variable in class org.hawkular.metrics.tasks.impl.Queries
 

E

equals(Object) - Method in class org.hawkular.metrics.tasks.api.TaskType
 
equals(Object) - Method in class org.hawkular.metrics.tasks.impl.TaskImpl
 

F

findLeases - Variable in class org.hawkular.metrics.tasks.impl.Queries
 
findTasks - Variable in class org.hawkular.metrics.tasks.impl.Queries
 
findTasks(String, DateTime, int) - Method in class org.hawkular.metrics.tasks.impl.TaskServiceImpl
 
findTasks(Lease, TaskType) - Method in class org.hawkular.metrics.tasks.impl.TaskServiceImpl
 
findUnfinishedLeases(DateTime) - Method in class org.hawkular.metrics.tasks.impl.LeaseService
 
finish(Lease) - Method in class org.hawkular.metrics.tasks.impl.LeaseService
 
finishLease - Variable in class org.hawkular.metrics.tasks.impl.Queries
 

G

get24HourTimeSlice(DateTime) - Method in class org.hawkular.metrics.tasks.DateTimeService
This method determines the 24 hour time slice for the specified time and returns the start of that time slice.
getFactory() - Method in class org.hawkular.metrics.tasks.api.TaskType
A function that produces functions that carry out task execution.
getFailedTask() - Method in exception org.hawkular.metrics.tasks.api.TaskExecutionException
 
getInterval() - Method in interface org.hawkular.metrics.tasks.api.Task
The frequency of the task execution, e.g., five minutes.
getInterval() - Method in class org.hawkular.metrics.tasks.impl.TaskImpl
 
getName() - Method in class org.hawkular.metrics.tasks.api.TaskType
The task type name which must be unique among task types.
getSegmentOffsets() - Method in class org.hawkular.metrics.tasks.api.TaskType
Tasks are associated with leases.
getSegments() - Method in class org.hawkular.metrics.tasks.api.TaskType
The number of partitions in the database to use for storing tasks.
getSources() - Method in interface org.hawkular.metrics.tasks.api.Task
The keys or identifiers of the time series associated with the source data being operated on.
getSources() - Method in class org.hawkular.metrics.tasks.impl.TaskImpl
 
getTarget() - Method in interface org.hawkular.metrics.tasks.api.Task
This is a key or identifier of the time series that is associated with the task.
getTarget() - Method in class org.hawkular.metrics.tasks.impl.TaskImpl
 
getTaskType() - Method in interface org.hawkular.metrics.tasks.api.Task
 
getTaskType() - Method in class org.hawkular.metrics.tasks.impl.TaskImpl
 
getTimeSlice() - Method in interface org.hawkular.metrics.tasks.api.Task
The end time of the time slice for which the task is scheduled.
getTimeSlice(DateTime, Duration) - Method in class org.hawkular.metrics.tasks.DateTimeService
 
getTimeSlice() - Method in class org.hawkular.metrics.tasks.impl.TaskImpl
 
getWindow() - Method in interface org.hawkular.metrics.tasks.api.Task
Specifies the amount of data to be included.
getWindow() - Method in class org.hawkular.metrics.tasks.impl.TaskImpl
 

H

hashCode() - Method in class org.hawkular.metrics.tasks.api.TaskType
 
hashCode() - Method in class org.hawkular.metrics.tasks.impl.TaskImpl
 

L

LeaseService - Class in org.hawkular.metrics.tasks.impl
 
LeaseService(RxSession, Queries) - Constructor for class org.hawkular.metrics.tasks.impl.LeaseService
 
loadLeases(DateTime) - Method in class org.hawkular.metrics.tasks.impl.LeaseService
 

O

org.hawkular.metrics.tasks - package org.hawkular.metrics.tasks
 
org.hawkular.metrics.tasks.api - package org.hawkular.metrics.tasks.api
 
org.hawkular.metrics.tasks.impl - package org.hawkular.metrics.tasks.impl
 

Q

Queries - Class in org.hawkular.metrics.tasks.impl
 
Queries(Session) - Constructor for class org.hawkular.metrics.tasks.impl.Queries
 

R

renew(Lease) - Method in class org.hawkular.metrics.tasks.impl.LeaseService
 
renewLease - Variable in class org.hawkular.metrics.tasks.impl.Queries
 

S

scheduleTask(DateTime, Task) - Method in interface org.hawkular.metrics.tasks.api.TaskService
Schedules the task for repeated execution starting in the next time slice after time.
scheduleTask(DateTime, Task) - Method in class org.hawkular.metrics.tasks.impl.TaskServiceImpl
 
setFactory(Supplier<Consumer<Task>>) - Method in class org.hawkular.metrics.tasks.api.TaskType
 
setName(String) - Method in class org.hawkular.metrics.tasks.api.TaskType
 
setSegmentOffsets(int) - Method in class org.hawkular.metrics.tasks.api.TaskType
 
setSegments(int) - Method in class org.hawkular.metrics.tasks.api.TaskType
 
setTimeUnit(TimeUnit) - Method in class org.hawkular.metrics.tasks.impl.TaskServiceImpl
The time unit determines a couple things.
shutdown() - Method in interface org.hawkular.metrics.tasks.api.TaskService
Shuts down the internal scheduler.
shutdown() - Method in class org.hawkular.metrics.tasks.impl.LeaseService
 
shutdown() - Method in class org.hawkular.metrics.tasks.impl.TaskServiceImpl
 
start() - Method in interface org.hawkular.metrics.tasks.api.TaskService
Starts the internal scheduler which takes care of running jobs to process the task queue.
start() - Method in class org.hawkular.metrics.tasks.impl.TaskServiceImpl
 

T

Task - Interface in org.hawkular.metrics.tasks.api
Represents a unit of work to be performed by a user supplied function.
TaskExecutionException - Exception in org.hawkular.metrics.tasks.api
 
TaskExecutionException(Task, Throwable) - Constructor for exception org.hawkular.metrics.tasks.api.TaskExecutionException
 
TaskImpl - Class in org.hawkular.metrics.tasks.impl
 
TaskImpl(TaskType, DateTime, String, String, int, int) - Constructor for class org.hawkular.metrics.tasks.impl.TaskImpl
 
TaskImpl(TaskType, DateTime, String, Set<String>, Duration, Duration) - Constructor for class org.hawkular.metrics.tasks.impl.TaskImpl
 
TaskService - Interface in org.hawkular.metrics.tasks.api
The primary API for task scheduling and execution.
TaskServiceBuilder - Class in org.hawkular.metrics.tasks.api
A builder for creating and configuring a TaskService instance.
TaskServiceBuilder() - Constructor for class org.hawkular.metrics.tasks.api.TaskServiceBuilder
 
TaskServiceImpl - Class in org.hawkular.metrics.tasks.impl
 
TaskServiceImpl(RxSession, Queries, LeaseService, List<TaskType>) - Constructor for class org.hawkular.metrics.tasks.impl.TaskServiceImpl
 
TaskType - Class in org.hawkular.metrics.tasks.api
Tasks are grouped by type, and execution order is also determined by type.
TaskType() - Constructor for class org.hawkular.metrics.tasks.api.TaskType
 
toString() - Method in class org.hawkular.metrics.tasks.impl.TaskImpl
 

W

withSession(Session) - Method in class org.hawkular.metrics.tasks.api.TaskServiceBuilder
The session object to use for querying Cassandra.
withTaskTypes(List<TaskType>) - Method in class org.hawkular.metrics.tasks.api.TaskServiceBuilder
Specifies the types of tasks that the TaskService will execute.
withTimeUnit(TimeUnit) - Method in class org.hawkular.metrics.tasks.api.TaskServiceBuilder
The time unit determines a couple things.
A B C D E F G H L O Q R S T W 
Skip navigation links

Copyright © 2014–2015 Red Hat, Inc.. All rights reserved.