Class ETLPVLookupItems
- java.lang.Object
-
- org.epics.archiverappliance.etl.common.ETLPVLookupItems
-
public class ETLPVLookupItems extends Object
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
Constructors Constructor Description ETLPVLookupItems(String pvName, ArchDBRTypes dbrType, ETLSource source, ETLDest dest, int lifetimeorder, ETLMetricsForLifetime metricsForLifetime, OutOfSpaceHandling outOfSpaceHandling)
-
Method Summary
-
-
-
Constructor Detail
-
ETLPVLookupItems
public ETLPVLookupItems(String pvName, ArchDBRTypes dbrType, ETLSource source, ETLDest dest, int lifetimeorder, ETLMetricsForLifetime metricsForLifetime, OutOfSpaceHandling outOfSpaceHandling)
-
-
Method Detail
-
getLifetimeorder
public int getLifetimeorder()
-
getPvName
public String getPvName()
-
setPvName
public void setPvName(String pvName)
-
getETLSource
public ETLSource getETLSource()
-
setETLSource
public void setETLSource(ETLSource source)
-
getETLDest
public ETLDest getETLDest()
-
setETLDest
public void setETLDest(ETLDest dest)
-
getTotalTimeWeSpentInETLInMilliSeconds
public long getTotalTimeWeSpentInETLInMilliSeconds()
-
getNumberofTimesWeETLed
public int getNumberofTimesWeETLed()
-
getLastETLCompleteEpochSeconds
public long getLastETLCompleteEpochSeconds()
-
addETLDurationInMillis
public void addETLDurationInMillis(long pvETLStartEpochMilliSeconds, long pvETLEndEpochMilliSeconds)
-
getDbrType
public ArchDBRTypes getDbrType()
-
getCancellingFuture
public ScheduledFuture<?> getCancellingFuture()
-
setCancellingFuture
public void setCancellingFuture(ScheduledFuture<?> cancellingFuture)
-
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
public OutOfSpaceHandling getOutOfSpaceHandling()
-
getOutOfSpaceChunksDeleted
public long getOutOfSpaceChunksDeleted()
-
outOfSpaceChunkDeleted
public void outOfSpaceChunkDeleted()
-
getTotalSrcBytes
public long getTotalSrcBytes()
-
getLastETLTimeWeSpentInETLInMilliSeconds
public long getLastETLTimeWeSpentInETLInMilliSeconds()
-
getTime4checkSizes
public long getTime4checkSizes()
-
getMetricsForLifetime
public ETLMetricsForLifetime getMetricsForLifetime()
- Returns:
- the metricsForLifetime
-
-