public interface PartitionEventManagerLocal
| Modifier and Type | Method and Description |
|---|---|
org.rhq.core.domain.cloud.composite.FailoverListComposite |
agentPartitionEvent(org.rhq.core.domain.auth.Subject subject,
String agentToken,
org.rhq.core.domain.cloud.PartitionEventType eventType,
String eventDetail) |
void |
auditPartitionEvent(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.cloud.PartitionEventType eventType,
String eventDetail)
This call performs no partitioning activity, it only audits that some event has taken place that could
affect, or contribute to, a future partitioning.
|
Map<org.rhq.core.domain.resource.Agent,org.rhq.core.domain.cloud.composite.FailoverListComposite> |
cloudPartitionEvent(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.cloud.PartitionEventType eventType,
String eventDetail)
This call performs a full repartitioning of the agent population at the time of the call.
|
void |
cloudPartitionEventRequest(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.cloud.PartitionEventType eventType,
String eventDetail)
This call requests full repartitioning of the agent population by the recurring cluster manager job.
|
void |
createPartitionEvent(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.cloud.PartitionEvent partitionEvent) |
void |
deletePartitionEvents(org.rhq.core.domain.auth.Subject subject,
Integer[] partitionEventIds)
This is primarily a test entry point.
|
org.rhq.core.domain.util.PageList<org.rhq.core.domain.cloud.PartitionEvent> |
findPartitionEventsByCriteria(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.criteria.PartitionEventCriteria criteria)
Fetches the partition events based on provided criteria.
|
org.rhq.core.domain.cloud.PartitionEvent |
getPartitionEvent(org.rhq.core.domain.auth.Subject subject,
int partitionEventId) |
org.rhq.core.domain.util.PageList<org.rhq.core.domain.cloud.PartitionEventDetails> |
getPartitionEventDetails(org.rhq.core.domain.auth.Subject subject,
int partitionEventId,
org.rhq.core.domain.util.PageControl pageControl)
Returns the partition event details.
|
org.rhq.core.domain.util.PageList<org.rhq.core.domain.cloud.PartitionEvent> |
getPartitionEvents(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.cloud.PartitionEventType type,
org.rhq.core.domain.cloud.PartitionEvent.ExecutionStatus status,
String details,
org.rhq.core.domain.util.PageControl pageControl) |
void |
processRequestedPartitionEvents()
This call queries for and then processed all outstanding, requested partition events resulting from previous
calls to
cloudPartitionEventRequest. |
int |
purgeAllEvents(org.rhq.core.domain.auth.Subject subject)
Deletes all the partition events.
|
org.rhq.core.domain.cloud.composite.FailoverListComposite agentPartitionEvent(org.rhq.core.domain.auth.Subject subject,
String agentToken,
org.rhq.core.domain.cloud.PartitionEventType eventType,
String eventDetail)
void createPartitionEvent(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.cloud.PartitionEvent partitionEvent)
Map<org.rhq.core.domain.resource.Agent,org.rhq.core.domain.cloud.composite.FailoverListComposite> cloudPartitionEvent(org.rhq.core.domain.auth.Subject subject, org.rhq.core.domain.cloud.PartitionEventType eventType, String eventDetail)
subject - eventType - eventDetail - Any useful information regarding the event generation. Should be suitable for display.
Typically a relevant server name.void cloudPartitionEventRequest(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.cloud.PartitionEventType eventType,
String eventDetail)
subject - the callereventType - eventDetail - Any useful information regarding the event generation. Should be suitable for display.
Typically a relevant server name.void auditPartitionEvent(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.cloud.PartitionEventType eventType,
String eventDetail)
subject - eventType - Can be any event type although typically a type used here will not also be used in aeventDetail - Any useful information regarding the event generation. Should be suitable for display.
Typically s relevant server or agent name.
server list generating call.void processRequestedPartitionEvents()
cloudPartitionEventRequest.void deletePartitionEvents(org.rhq.core.domain.auth.Subject subject,
Integer[] partitionEventIds)
subject - partitionEventIds - int purgeAllEvents(org.rhq.core.domain.auth.Subject subject)
subject - org.rhq.core.domain.cloud.PartitionEvent getPartitionEvent(org.rhq.core.domain.auth.Subject subject,
int partitionEventId)
org.rhq.core.domain.util.PageList<org.rhq.core.domain.cloud.PartitionEvent> getPartitionEvents(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.cloud.PartitionEventType type,
org.rhq.core.domain.cloud.PartitionEvent.ExecutionStatus status,
String details,
org.rhq.core.domain.util.PageControl pageControl)
org.rhq.core.domain.util.PageList<org.rhq.core.domain.cloud.PartitionEventDetails> getPartitionEventDetails(org.rhq.core.domain.auth.Subject subject,
int partitionEventId,
org.rhq.core.domain.util.PageControl pageControl)
subject - the callerpartitionEventId - pageControl - org.rhq.core.domain.util.PageList<org.rhq.core.domain.cloud.PartitionEvent> findPartitionEventsByCriteria(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.criteria.PartitionEventCriteria criteria)
subject - the callercriteria - the criteriaCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.