Class ChannelArchiverDataServerPVInfo
java.lang.Object
org.epics.archiverappliance.config.ChannelArchiverDataServerPVInfo
- All Implemented Interfaces:
Serializable
As part of archiver.names, the ChannelArchiver XMLRPC server also returns the first and last timestamp.
We store the start and end epoch seconds in addition to the ServerInfo in instances of this class.
This is typically used to sort the servers in reverse order of their first and last epoch seconds.
This gives up a poor mans implementation of Bob's traffic cop index; though the memory consumption is probably somewhat excessive.
- Author:
- mshankar
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionChannelArchiverDataServerPVInfo(ChannelArchiverDataServerInfo serverInfo, long startSec, long endSec) -
Method Summary
-
Constructor Details
-
ChannelArchiverDataServerPVInfo
public ChannelArchiverDataServerPVInfo(ChannelArchiverDataServerInfo serverInfo, long startSec, long endSec)
-
-
Method Details
-
sortServersBasedOnStartAndEndSecs
public static void sortServersBasedOnStartAndEndSecs(List<ChannelArchiverDataServerPVInfo> caPVInfos) -
getServerInfo
-
getStartSec
public long getStartSec() -
getEndSec
public long getEndSec() -
toString
-