org.rhq.enterprise.server.discovery
Class AgentInventoryStatusUpdateJob

java.lang.Object
  extended by org.rhq.enterprise.server.discovery.AgentInventoryStatusUpdateJob
All Implemented Interfaces:
org.quartz.Job

public class AgentInventoryStatusUpdateJob
extends Object
implements org.quartz.Job

Quartz job that offloads the work of sending inventory status updates to agents to the background, serviced by any one node of the cluster.

Author:
Robert Buck

Field Summary
static String KEY_TRIGGER_GROUP_NAME
           
static String KEY_TRIGGER_NAME
           
static String PLATFORMS_COMMA_LIST
           
static String SERVERS_COMMA_LIST
           
 
Constructor Summary
AgentInventoryStatusUpdateJob()
           
 
Method Summary
 void execute(org.quartz.JobExecutionContext context)
           
static void externalizeJobValues(org.quartz.JobDataMap jobDataMap, String key, List<org.rhq.core.domain.resource.Resource> resources)
           
static void internalizeJobValues(javax.persistence.EntityManager entityManager, String valuesCsvList, List<org.rhq.core.domain.resource.Resource> resources)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PLATFORMS_COMMA_LIST

public static final String PLATFORMS_COMMA_LIST
See Also:
Constant Field Values

SERVERS_COMMA_LIST

public static final String SERVERS_COMMA_LIST
See Also:
Constant Field Values

KEY_TRIGGER_NAME

public static final String KEY_TRIGGER_NAME
See Also:
Constant Field Values

KEY_TRIGGER_GROUP_NAME

public static final String KEY_TRIGGER_GROUP_NAME
See Also:
Constant Field Values
Constructor Detail

AgentInventoryStatusUpdateJob

public AgentInventoryStatusUpdateJob()
Method Detail

externalizeJobValues

public static void externalizeJobValues(org.quartz.JobDataMap jobDataMap,
                                        String key,
                                        List<org.rhq.core.domain.resource.Resource> resources)

internalizeJobValues

public static void internalizeJobValues(javax.persistence.EntityManager entityManager,
                                        String valuesCsvList,
                                        List<org.rhq.core.domain.resource.Resource> resources)

execute

public void execute(org.quartz.JobExecutionContext context)
             throws org.quartz.JobExecutionException
Specified by:
execute in interface org.quartz.Job
Throws:
org.quartz.JobExecutionException


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.