|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.trendmicro.grid.acl.ds.jpa.AbstractReceivedResultsHandler<T>
public abstract class AbstractReceivedResultsHandler<T>
Is the abstract base to implementations that handle aspects of the storage of processing results.
| Nested Class Summary | |
|---|---|
protected static class |
AbstractReceivedResultsHandler.StorageContext
Defines a storage context for handlers that summarizes the information needed to process a single transaction. |
| Constructor Summary | |
|---|---|
AbstractReceivedResultsHandler()
|
|
| Method Summary | |
|---|---|
protected static boolean |
getValue(net.sf.tinyjee.config.PropertySection section,
String property)
Shortcut to retrieve a boolean value form the given property section. |
protected abstract T |
handle(AbstractReceivedResultsHandler.StorageContext context)
Handles the job in relation to the given storage context. |
protected static boolean |
isAfter(Date reference,
Date dateToCheck)
If a null safe compare method for 2 dataes. |
protected static boolean |
isNull(com.trendmicro.grid.acl.metadata.Metadata metadata)
Checks whether the given metadata element can be considered to be null. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractReceivedResultsHandler()
| Method Detail |
|---|
protected static boolean isNull(com.trendmicro.grid.acl.metadata.Metadata metadata)
metadata - the metadata element to check.
protected static boolean isAfter(Date reference,
Date dateToCheck)
reference - the reference data to verify whether dataToCheck is after it.dateToCheck - the date the check against reference date.
protected static boolean getValue(net.sf.tinyjee.config.PropertySection section,
String property)
section - the section to read from.property - the key of the value to extract.
protected abstract T handle(AbstractReceivedResultsHandler.StorageContext context)
context - the data set to handle.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||