Class ETLPVLookupItems
java.lang.Object
org.epics.archiverappliance.etl.common.ETLPVLookupItems
A POJO for PV name, ETLSource, and ETLDest items,
which can be used as elements in a list (e.g.,
implementations of the ETLPVLookup interface,
such as PBThreeTierETLPVLookup).
- Author:
- rdh
-
Constructor Summary
ConstructorsConstructorDescriptionETLPVLookupItems(String pvName, ArchDBRTypes dbrType, ETLSource source, ETLDest dest, int lifetimeorder, ETLMetricsForLifetime metricsForLifetime, OutOfSpaceHandling outOfSpaceHandling) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddETLDurationInMillis(long pvETLStartEpochMilliSeconds, long pvETLEndEpochMilliSeconds) voidaddInfoAboutDetailedTime(long time4getETLStreams, long time4checkSizes, long time4prepareForNewPartition, long time4appendToETLAppendData, long time4commitETLAppendData, long time4markForDeletion, long time4runPostProcessors, long time4executePostETLTasks, long totalSrcBytes) booleanlonglongintintlonglonglonglonglonglonglonglonglonglonglonginthashCode()voidvoidsetCancellingFuture(ScheduledFuture<?> cancellingFuture) voidsetETLDest(ETLDest dest) voidsetETLSource(ETLSource source) voidtoString()
-
Constructor Details
-
ETLPVLookupItems
public ETLPVLookupItems(String pvName, ArchDBRTypes dbrType, ETLSource source, ETLDest dest, int lifetimeorder, ETLMetricsForLifetime metricsForLifetime, OutOfSpaceHandling outOfSpaceHandling)
-
-
Method Details
-
getLifetimeorder
public int getLifetimeorder() -
getPvName
-
setPvName
-
getETLSource
-
setETLSource
-
getETLDest
-
setETLDest
-
equals
-
hashCode
public int hashCode() -
getTotalTimeWeSpentInETLInMilliSeconds
public long getTotalTimeWeSpentInETLInMilliSeconds() -
getNumberofTimesWeETLed
public int getNumberofTimesWeETLed() -
getLastETLCompleteEpochSeconds
public long getLastETLCompleteEpochSeconds() -
addETLDurationInMillis
public void addETLDurationInMillis(long pvETLStartEpochMilliSeconds, long pvETLEndEpochMilliSeconds) -
getDbrType
-
getCancellingFuture
-
setCancellingFuture
-
toString
-
addInfoAboutDetailedTime
public void addInfoAboutDetailedTime(long time4getETLStreams, long time4checkSizes, long time4prepareForNewPartition, long time4appendToETLAppendData, long time4commitETLAppendData, long time4markForDeletion, long time4runPostProcessors, long time4executePostETLTasks, long totalSrcBytes) -
getTime4getETLStreams
public long getTime4getETLStreams() -
getTime4prepareForNewPartition
public long getTime4prepareForNewPartition() -
getTime4appendToETLAppendData
public long getTime4appendToETLAppendData() -
getTime4commitETLAppendData
public long getTime4commitETLAppendData() -
getTime4markForDeletion
public long getTime4markForDeletion() -
getTime4runPostProcessors
public long getTime4runPostProcessors() -
getTime4executePostETLTasks
public long getTime4executePostETLTasks() -
getOutOfSpaceHandling
-
getOutOfSpaceChunksDeleted
public long getOutOfSpaceChunksDeleted() -
outOfSpaceChunkDeleted
public void outOfSpaceChunkDeleted() -
getTotalSrcBytes
public long getTotalSrcBytes() -
getLastETLTimeWeSpentInETLInMilliSeconds
public long getLastETLTimeWeSpentInETLInMilliSeconds() -
getTime4checkSizes
public long getTime4checkSizes() -
getMetricsForLifetime
- Returns:
- the metricsForLifetime
-