SynchronousAvailDataInserter (Hyperic HQ Plugin API)
Keywords: org.hyperic.hq.measurement.server.session.SynchronousAvailDataInserter class

Overview | Package | Class | Tree | Deprecated | Index | Help
| Hyperic HQ Plugin API v. 4.4.0.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hyperic.hq.measurement.server.session
Class SynchronousAvailDataInserter

    java.lang.Object
      org.hyperic.hq.measurement.server.session.SynchronousAvailDataInserter

All Implemented Interfaces:
  DataInserter

    public class SynchronousAvailDataInserter

extends java.lang.Object
implements DataInserter

Constructor Summary
`SynchronousAvailDataInserter(java.lang.Object lock)`

Method Summary
`java.lang.Object` | `getLock()`
`void` | `insertMetrics(java.util.List availData)` Insert data into the DB, possibly blocking.
`void` | `insertMetrics(java.util.List metricData, boolean isPriority)` Insert priority data into the DB, possibly blocking.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### SynchronousAvailDataInserter

    public SynchronousAvailDataInserter(java.lang.Object lock)

Method Detail

### insertMetrics

    public void insertMetrics(java.util.List availData)
                       throws java.lang.InterruptedException,
                              DataInserterException

  Description copied from interface: `DataInserter`
  Insert data into the DB, possibly blocking.

  Specified by:
    `insertMetrics` in interface `DataInserter`
  Parameters:
    `availData` - a list of `DataPoint`s
  Throws:
    `java.lang.InterruptedException`
    `DataInserterException`

### getLock

    public java.lang.Object getLock()

  Specified by:
    `getLock` in interface `DataInserter`

### insertMetrics

    public void insertMetrics(java.util.List metricData,
                              boolean isPriority)
                       throws java.lang.InterruptedException,
                              DataInserterException

  Description copied from interface: `DataInserter`
  Insert priority data into the DB, possibly blocking. This may or may not be implemented by the inherited class.

  Specified by:
    `insertMetrics` in interface `DataInserter`
  Parameters:
    `metricData` - a list of `DataPoint`s
    `isPriority` - tells the inserter to prioritize the metricData List. When implemented the DataInserter will give will insert the priority data before the low priority data.
  Throws:
    `java.lang.InterruptedException`
    `DataInserterException`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Hyperic HQ Plugin API v. 4.4.0.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.