public abstract class AbstractProcessor extends Object implements Processor
| Constructor and Description |
|---|
AbstractProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
process(com.google.gson.JsonObject object)
Process.
|
void |
process(com.google.gson.JsonObject jsonObject,
long time,
String objectId,
String objectType)
Sync by objectId and process json message to store into db.
|
public void process(com.google.gson.JsonObject jsonObject,
long time,
String objectId,
String objectType)
throws SQLException,
IllegalArgumentException
process in interface ProcessorjsonObject - message as json object received from executor that will be processed to store in reporting db.time - received timeobjectId - message id from activemq property.objectType - message type from activemq property.SQLException - sql exceptions.IllegalArgumentException - if objectType is null or empty.protected abstract void process(com.google.gson.JsonObject object)
throws SQLException
object - the objectSQLExceptionCopyright © 2025. All rights reserved.