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

A

AbstractEventProcessor - Class in org.alfresco.bm.event
Basic services for the event processor implementations

Read 'good practice' notes for documenting behaviour.

AbstractEventProcessor() - Constructor for class org.alfresco.bm.event.AbstractEventProcessor
Default constructor

B

BMTestRunner - Class in org.alfresco.bm.tools
Utility code to assist with starting up a test context to aid development by instantiating a test-only context for execution.
BMTestRunner(String, int, String, String, String, Properties) - Constructor for class org.alfresco.bm.tools.BMTestRunner
Construct the help class that will start and stop the test application context

C

checkIndexes(MongoTemplate, String) - Static method in class org.alfresco.bm.event.Event
Ensure that the MongoDB collection has the required indexes for events.
ConfigConstants - Interface in org.alfresco.bm.config
Define commonly-used constants
ConfigConstants.RunState - Enum in org.alfresco.bm.config
An instruction to the main process on what action to take for the server.
ConfigException - Exception in org.alfresco.bm.config
Exception thrown for any unexpected result or data in ZooKeeper
ConfigException(String) - Constructor for exception org.alfresco.bm.config.ConfigException
 
ConfigException(String, Throwable) - Constructor for exception org.alfresco.bm.config.ConfigException
 
count() - Method in interface org.alfresco.bm.event.EventService
 
CRITERIA_SUCCESS - Static variable in interface org.alfresco.bm.report.ReportService
Record field indicating successful event completion.

D

DEFAULT_RUNSTATE - Static variable in interface org.alfresco.bm.config.ConfigConstants
 
DEFAULT_SERVER_ID - Static variable in interface org.alfresco.bm.config.ConfigConstants
 
DEFAULT_WARN_DELAY - Static variable in class org.alfresco.bm.event.AbstractEventProcessor
 
deleteEvent(Event) - Method in interface org.alfresco.bm.event.EventService
Delete an event from the provider.
DoNothingEventProcessor - Class in org.alfresco.bm.event
This processor does nothing with the event and produces no further output.
DoNothingEventProcessor() - Constructor for class org.alfresco.bm.event.DoNothingEventProcessor
 

E

equals(Object) - Method in class org.alfresco.bm.event.Event
 
Event - Class in org.alfresco.bm.event
An event that is persisted and retrieved for processing.
Event() - Constructor for class org.alfresco.bm.event.Event
Default constructor for loading up from queues
Event(String) - Constructor for class org.alfresco.bm.event.Event
Construct an immediate, unprocessed event without payload data
Event(String, Serializable) - Constructor for class org.alfresco.bm.event.Event
Construct an immediate, unprocessed event with payload data
Event(String, long, long) - Constructor for class org.alfresco.bm.event.Event
Construct a scheduled, unprocessed event without payload data
Event(String, long, long, Serializable) - Constructor for class org.alfresco.bm.event.Event
Construct a scheduled, unprocessed event with payload data
Event(String, long, long, long, long, Serializable) - Constructor for class org.alfresco.bm.event.Event
Constructor an event that has not been processed
EVENT_BEAN_PREFIX - Static variable in class org.alfresco.bm.event.Event
 
EVENT_NAME_START - Static variable in class org.alfresco.bm.event.Event
 
EVENT_NAME_STOP - Static variable in class org.alfresco.bm.event.Event
 
EventProcessor - Interface in org.alfresco.bm.event
Basic interface that test runner code needs to implement in order to be processed by the Benchmark Server framework.
EventProcessorRegistry - Class in org.alfresco.bm.event
A registry of event processors that allow for simple registration (TODO: make link to register code in AbstractEventProcessor).
EventProcessorRegistry() - Constructor for class org.alfresco.bm.event.EventProcessorRegistry
 
EventResult - Class in org.alfresco.bm.event
The result of event processing.
EventResult(List<Event>) - Constructor for class org.alfresco.bm.event.EventResult
Constructor for successful results containing future events without any additional data to record.
EventResult(Serializable, List<Event>) - Constructor for class org.alfresco.bm.event.EventResult
Constructor for successful results containing future events with additional data to record.
EventResult(Serializable, Event) - Constructor for class org.alfresco.bm.event.EventResult
Constructor for successful results containing a future event with additional data to record.
EventResult(Serializable, List<Event>, boolean) - Constructor for class org.alfresco.bm.event.EventResult
Constructor for results containing future events with additional data to record.
EventService - Interface in org.alfresco.bm.event
Interface for classes that handle persistence and retrieval of events.
export(String, int, int) - Method in interface org.alfresco.bm.report.ReportService
Exports results in a csv format to a file.
export(String, int, int) - Method in class org.alfresco.bm.report.ReportServiceImpl
 

F

FAILED_LABEL_PREFIX - Static variable in class org.alfresco.bm.report.ReportUtil
 
FIELD_END_TIME - Static variable in class org.alfresco.bm.event.Event
 
FIELD_ID - Static variable in class org.alfresco.bm.event.Event
 
FIELD_NAME - Static variable in class org.alfresco.bm.event.Event
 
FIELD_OWNER_ID - Static variable in class org.alfresco.bm.event.Event
 
FIELD_SCHEDULED_TIME - Static variable in class org.alfresco.bm.event.Event
 
FIELD_START_TIME - Static variable in class org.alfresco.bm.event.Event
 
findEvents(String, int, int) - Method in interface org.alfresco.bm.event.EventService
Find any event matching the given name, using the paging criteria
findEventsByName(String, int, int) - Method in interface org.alfresco.bm.event.ResultService
Find previously-completed events with the given name
formatHeaders(String) - Static method in class org.alfresco.bm.report.ReportUtil
Helper method to format collection of names into a csv format.

G

getCreatedTime() - Method in class org.alfresco.bm.event.Event
 
getCtx() - Method in class org.alfresco.bm.tools.BMTestRunner
 
getData() - Method in class org.alfresco.bm.event.Event
 
getData() - Method in class org.alfresco.bm.event.EventResult
 
getEndTime() - Method in class org.alfresco.bm.event.Event
 
getEventData() - Method in class org.alfresco.bm.event.RecordedEvent
 
getEventNames() - Method in interface org.alfresco.bm.report.ReportService
Retrieves distinct collection of event names from the result collection in MongoDB.
getEventNames() - Method in class org.alfresco.bm.report.ReportServiceImpl
 
getEventProcessTime() - Method in class org.alfresco.bm.event.RecordedEvent
 
getId() - Method in class org.alfresco.bm.event.Event
 
getName() - Method in class org.alfresco.bm.event.Event
 
getNextEvents() - Method in class org.alfresco.bm.event.EventResult
 
getOwnerId() - Method in class org.alfresco.bm.event.Event
Get the identifier of the process owning the event lock
getProcessor(String) - Method in class org.alfresco.bm.event.EventProcessorRegistry
Get the processor that must handle events with the given name
getResults(int, int) - Method in interface org.alfresco.bm.report.ReportService
Retrieves results of a test run from MongoDB.
getResults(int, int) - Method in class org.alfresco.bm.report.ReportServiceImpl
 
getScheduledTime() - Method in class org.alfresco.bm.event.Event
 
getStartTime() - Method in class org.alfresco.bm.event.Event
 
getWarnDelay() - Method in class org.alfresco.bm.event.AbstractEventProcessor
 
getWarnDelay() - Method in interface org.alfresco.bm.event.EventProcessor
Provide a hint for the processing framework on how much time should elapse before the warnings need to be issued over the delay
getWarning() - Method in class org.alfresco.bm.event.RecordedEvent
 

H

hashCode() - Method in class org.alfresco.bm.event.Event
 

I

INDEX_NEXT_AVAILABLE_EVENT - Static variable in class org.alfresco.bm.event.Event
 
isSuccess() - Method in class org.alfresco.bm.event.EventResult
 
isSuccess() - Method in class org.alfresco.bm.event.RecordedEvent
 

L

lockEvent(String, Event) - Method in interface org.alfresco.bm.event.EventService
Lock an event for processing by the given owner
logger - Variable in class org.alfresco.bm.event.AbstractEventProcessor
Resource for derived classes to use for logging

M

main(String...) - Static method in class org.alfresco.bm.report.ReportClient
Report main method
main(String...) - Static method in class org.alfresco.bm.tools.ZooKeeperClassImporter
Real main method

N

nextEvent(long, long) - Method in interface org.alfresco.bm.event.EventService
Retrieve the next event in the queue.

O

org.alfresco.bm.config - package org.alfresco.bm.config
 
org.alfresco.bm.event - package org.alfresco.bm.event
 
org.alfresco.bm.report - package org.alfresco.bm.report
 
org.alfresco.bm.tools - package org.alfresco.bm.tools
 

P

PATH_CLASSES - Static variable in interface org.alfresco.bm.config.ConfigConstants
 
PATH_CLUSTERS - Static variable in interface org.alfresco.bm.config.ConfigConstants
 
PATH_DEFINITION - Static variable in interface org.alfresco.bm.config.ConfigConstants
 
PATH_JARS - Static variable in interface org.alfresco.bm.config.ConfigConstants
 
PATH_LOADED - Static variable in interface org.alfresco.bm.config.ConfigConstants
 
PATH_PROPERTIES - Static variable in interface org.alfresco.bm.config.ConfigConstants
 
PATH_RUNS - Static variable in interface org.alfresco.bm.config.ConfigConstants
 
PATH_SERVER - Static variable in interface org.alfresco.bm.config.ConfigConstants
 
PATH_SERVERS - Static variable in interface org.alfresco.bm.config.ConfigConstants
 
PATH_TESTS - Static variable in interface org.alfresco.bm.config.ConfigConstants
 
processEvent(Event) - Method in class org.alfresco.bm.event.DoNothingEventProcessor
 
processEvent(Event) - Method in interface org.alfresco.bm.event.EventProcessor
Process an event.
processEvent(Event) - Method in class org.alfresco.bm.event.RaiseEventsEventProcessor
 
PROP_CLUSTER - Static variable in interface org.alfresco.bm.config.ConfigConstants
 
PROP_CONTROL_CLUSTER - Static variable in interface org.alfresco.bm.config.ConfigConstants
 
PROP_CONTROL_RUN_STATE - Static variable in interface org.alfresco.bm.config.ConfigConstants
 
PROP_EVENT_PROCESSOR_THREADS - Static variable in interface org.alfresco.bm.config.ConfigConstants
 
PROP_MONGO_URI - Static variable in interface org.alfresco.bm.config.ConfigConstants
 
PROP_SERVER_ID - Static variable in interface org.alfresco.bm.config.ConfigConstants
 
PROP_TEST_NAME - Static variable in interface org.alfresco.bm.config.ConfigConstants
 
PROP_TEST_RUN_FQN - Static variable in interface org.alfresco.bm.config.ConfigConstants
 
PROP_TEST_RUN_NAME - Static variable in interface org.alfresco.bm.config.ConfigConstants
 
putEvent(Event) - Method in interface org.alfresco.bm.event.EventService
Adds an event to the provider.

R

RaiseEventsEventProcessor - Class in org.alfresco.bm.event
Raises the prescribed number of event with the given event name.
RaiseEventsEventProcessor(String, int) - Constructor for class org.alfresco.bm.event.RaiseEventsEventProcessor
Constructor with essential values
RecordedEvent - Class in org.alfresco.bm.event
The record of a processed event.
RecordedEvent() - Constructor for class org.alfresco.bm.event.RecordedEvent
Default constructor for auto-construction by frameworks.
RecordedEvent(Event, Serializable, boolean) - Constructor for class org.alfresco.bm.event.RecordedEvent
 
recordResult(RecordedEvent) - Method in interface org.alfresco.bm.event.ResultService
Simply store an event for later use
register() - Method in class org.alfresco.bm.event.AbstractEventProcessor
Register this instance for the event names that are handled.
register(String, EventProcessor) - Method in class org.alfresco.bm.event.EventProcessorRegistry
Register a processor for a given event name
ReportClient - Class in org.alfresco.bm.report
Client class to extract reports of a given test run stored in MongoDB
ReportClient() - Constructor for class org.alfresco.bm.report.ReportClient
 
ReportService - Interface in org.alfresco.bm.report
Service interface providing methods to access results and export it to a given format.
ReportServiceImpl - Class in org.alfresco.bm.report
Service class that retrieves test run results from MongoDB and generates a csv output file from the result.
ReportServiceImpl(MongoTemplate, String, String) - Constructor for class org.alfresco.bm.report.ReportServiceImpl
Constructor.
ReportUtil - Class in org.alfresco.bm.report
Report utility class that exports and formats data to a csv file.
ReportUtil() - Constructor for class org.alfresco.bm.report.ReportUtil
 
ResultService - Interface in org.alfresco.bm.event
Service interface providing methods to store and query for event results.

S

SEPARATOR - Static variable in interface org.alfresco.bm.config.ConfigConstants
 
setBeanName(String) - Method in class org.alfresco.bm.event.AbstractEventProcessor
 
setCreatedTime(long) - Method in class org.alfresco.bm.event.Event
 
setData(Serializable) - Method in class org.alfresco.bm.event.Event
 
setEndTime(long) - Method in class org.alfresco.bm.event.Event
Set the process end time provided it is greater than the start time.
setEndTime(long) - Method in class org.alfresco.bm.event.RecordedEvent
 
setEventData(Serializable) - Method in class org.alfresco.bm.event.RecordedEvent
 
setEventName(String) - Method in class org.alfresco.bm.event.AbstractEventProcessor
Set the single event name that this processor can handle
setEventNames(List<String>) - Method in class org.alfresco.bm.event.AbstractEventProcessor
Set the names of the events that this processor can handle
setEventProcessTime(long) - Method in class org.alfresco.bm.event.RecordedEvent
 
setId(String) - Method in class org.alfresco.bm.event.Event
 
setName(String) - Method in class org.alfresco.bm.event.Event
 
setOwnerId(String) - Method in class org.alfresco.bm.event.Event
Set the identifier of the process owning the event lock
setRegistry(EventProcessorRegistry) - Method in class org.alfresco.bm.event.AbstractEventProcessor
Inject the registry that this instance will register with.
setScheduledTime(long) - Method in class org.alfresco.bm.event.Event
 
setStartTime(long) - Method in class org.alfresco.bm.event.Event
 
setStartTime(long) - Method in class org.alfresco.bm.event.RecordedEvent
 
setSuccess(boolean) - Method in class org.alfresco.bm.event.RecordedEvent
 
setWarnDelay(long) - Method in class org.alfresco.bm.event.AbstractEventProcessor
 
setWarning(String) - Method in class org.alfresco.bm.event.RecordedEvent
 
sortHeaders(List<String>) - Static method in class org.alfresco.bm.report.ReportUtil
Helper method to order header labels of csv file.
start() - Method in class org.alfresco.bm.tools.BMTestRunner
Start the application context
stop() - Method in class org.alfresco.bm.tools.BMTestRunner
Stop the application context

T

toString() - Method in class org.alfresco.bm.event.Event
 

U

updateEvent(Event) - Method in interface org.alfresco.bm.event.EventService
Update an event in the queue

V

valueOf(String) - Static method in enum org.alfresco.bm.config.ConfigConstants.RunState
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.alfresco.bm.config.ConfigConstants.RunState
Returns an array containing the constants of this enum type, in the order they are declared.

Z

ZooKeeperClassImporter - Class in org.alfresco.bm.tools
Import classes off the classpath into a ZooKeeper location
ZooKeeperClassImporter() - Constructor for class org.alfresco.bm.tools.ZooKeeperClassImporter
 

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

Copyright © 2012. All Rights Reserved.