public class CollectionSetDTO extends Object implements CollectionSet
| Constructor and Description |
|---|
CollectionSetDTO() |
CollectionSetDTO(CollectionAgent agent,
CollectionStatus status,
Date timestamp,
Map<Resource,List<Attribute<?>>> attributesByResource,
boolean disableCounterPersistence,
Long sequenceNumber) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Date |
getCollectionTimestamp()
Returns the timestamp of when this data collection was taken.
|
OptionalLong |
getSequenceNumber() |
CollectionStatus |
getStatus() |
int |
hashCode() |
boolean |
ignorePersist()
ignorePersist
|
String |
toString() |
void |
visit(CollectionSetVisitor visitor)
Provide a way to visit all the values in the CollectionSet, for any appropriate purposes (persisting, thresholding, or others)
The expectation is that calling this method will ultimately call visitResource, visitGroup and visitAttribute (as appropriate)
|
public CollectionSetDTO()
public CollectionSetDTO(CollectionAgent agent, CollectionStatus status, Date timestamp, Map<Resource,List<Attribute<?>>> attributesByResource, boolean disableCounterPersistence, Long sequenceNumber)
public CollectionStatus getStatus()
getStatus in interface CollectionSetpublic boolean ignorePersist()
CollectionSetignorePersist
ignorePersist in interface CollectionSetpublic Date getCollectionTimestamp()
CollectionSetgetCollectionTimestamp in interface CollectionSetpublic void visit(CollectionSetVisitor visitor)
CollectionVisitablevisit in interface CollectionVisitablevisitor - a CollectionSetVisitor object.public OptionalLong getSequenceNumber()
getSequenceNumber in interface CollectionSetCopyright © 2022. All rights reserved.