Uses of Class
org.epics.archiverappliance.config.ArchDBRTypes
-
Packages that use ArchDBRTypes Package Description edu.stanford.slac.archiverappliance.PB.data Contains the implementations of the PB types that correspond to the EPICS DBR types.edu.stanford.slac.archiverappliance.PB.search Contains utilities for searching within PB files.edu.stanford.slac.archiverappliance.PlainPB Files supporting the PlainPBStoragePlugin; one of the main StoragePlugin's in the Archiver Appliance.org.epics.archiverappliance The interfaces inorg.epics.archiverappliance
are the main interfaces in the archiver appliance.org.epics.archiverappliance.common Contains classes and interfaces fundamental and common to all the web apps.org.epics.archiverappliance.common.mergededup org.epics.archiverappliance.config Interfaces and classes relating to configuration of the appliance.org.epics.archiverappliance.engine Functionality pertaining to theengine
webapp.org.epics.archiverappliance.engine.model The core of theengine
functionality; inherited from CSS.org.epics.archiverappliance.engine.pv PV factory functionality (inherited from CSS).org.epics.archiverappliance.etl Functionality pertaining to theetl
webapp.org.epics.archiverappliance.etl.common Main flow and runtime state of theetl
webapp.org.epics.archiverappliance.etl.conversion org.epics.archiverappliance.retrieval Business processes pertaining to theretrieval
webapp.org.epics.archiverappliance.retrieval.channelarchiver Classes used in fetching data from Channel Archiver XML-RPC data servers.org.epics.archiverappliance.utils.blackhole Functionality pertaining to the blackhole storage plugin.org.epics.archiverappliance.utils.imprt Classes used in the import and export of configuration.org.epics.archiverappliance.utils.simulation Classes used in testing and generation of simulated data. -
-
Uses of ArchDBRTypes in edu.stanford.slac.archiverappliance.PB.data
Methods in edu.stanford.slac.archiverappliance.PB.data that return ArchDBRTypes Modifier and Type Method Description ArchDBRTypes
PBScalarByte. getDBRType()
ArchDBRTypes
PBScalarDouble. getDBRType()
ArchDBRTypes
PBScalarEnum. getDBRType()
ArchDBRTypes
PBScalarFloat. getDBRType()
ArchDBRTypes
PBScalarInt. getDBRType()
ArchDBRTypes
PBScalarShort. getDBRType()
ArchDBRTypes
PBScalarString. getDBRType()
ArchDBRTypes
PBV4GenericBytes. getDBRType()
ArchDBRTypes
PBVectorByte. getDBRType()
ArchDBRTypes
PBVectorDouble. getDBRType()
ArchDBRTypes
PBVectorEnum. getDBRType()
ArchDBRTypes
PBVectorFloat. getDBRType()
ArchDBRTypes
PBVectorInt. getDBRType()
ArchDBRTypes
PBVectorShort. getDBRType()
ArchDBRTypes
PBVectorString. getDBRType()
Methods in edu.stanford.slac.archiverappliance.PB.data with parameters of type ArchDBRTypes Modifier and Type Method Description Constructor<? extends DBRTimeEvent>
PBTypeSystem. getJCADBRConstructor(ArchDBRTypes archDBRType)
static DBR2PBTypeMapping
DBR2PBTypeMapping. getPBClassFor(ArchDBRTypes type)
static EPICS2PBTypeMapping
EPICS2PBTypeMapping. getPBClassFor(ArchDBRTypes type)
Get to the constructors that construct DBRTimeEvents from EPICS v3/v4 (JCA DBR etc) types this way.Constructor<? extends DBRTimeEvent>
PBTypeSystem. getSerializingConstructor(ArchDBRTypes archDBRType)
Constructor<? extends DBRTimeEvent>
PBTypeSystem. getUnmarshallingFromByteArrayConstructor(ArchDBRTypes archDBRType)
Constructor<? extends DBRTimeEvent>
PBTypeSystem. getV4Constructor(ArchDBRTypes archDBRType)
-
Uses of ArchDBRTypes in edu.stanford.slac.archiverappliance.PB.search
Methods in edu.stanford.slac.archiverappliance.PB.search with parameters of type ArchDBRTypes Modifier and Type Method Description boolean
FileEventStreamSearch. seekToTime(ArchDBRTypes dbrtype, int secondsIntoYear)
Set the fileChannels position to a point that best satisfies the requirements for getData(t1,...). -
Uses of ArchDBRTypes in edu.stanford.slac.archiverappliance.PlainPB
Methods in edu.stanford.slac.archiverappliance.PlainPB that return ArchDBRTypes Modifier and Type Method Description ArchDBRTypes
PBFileInfo. getType()
Methods in edu.stanford.slac.archiverappliance.PlainPB with parameters of type ArchDBRTypes Modifier and Type Method Description static void
PBFileInfo. checkPayloadInfo(LineByteStream lis, String pvName, ArchDBRTypes type)
Checks the payload info and makes sure we are using appropriate files.boolean
PlainPBStoragePlugin. prepareForNewPartition(String pvName, Event ev, ArchDBRTypes archDBRType, ETLContext context)
boolean
PlainPBStoragePlugin. runPostProcessors(String pvName, ArchDBRTypes dbrtype, ETLContext context)
Constructors in edu.stanford.slac.archiverappliance.PlainPB with parameters of type ArchDBRTypes Constructor Description ComparePBEvent(ArchDBRTypes type, int secondsintoyear)
FileBackedPBEventStream(String pvname, Path path, ArchDBRTypes type)
Used when we want to include data from the entire file.FileBackedPBEventStream(String pvname, Path path, ArchDBRTypes type, long startPosition, long endPosition)
Used when we know the file locations of the start and end.FileBackedPBEventStream(String pvname, Path path, ArchDBRTypes dbrtype, Timestamp startTime, Timestamp endTime, boolean skipSearch)
Used when we know the start and end times.FileBackedPBEventStreamPositionBasedIterator(Path path, long startFilePos, long endFilePos, short year, ArchDBRTypes type)
FileBackedPBEventStreamTimeBasedIterator(Path path, Timestamp startTime, Timestamp endTime, short year, ArchDBRTypes type)
LineByteStreamCreator(LineByteStream lis, String pvName, ArchDBRTypes type)
In this case we get a correctly positioned LISLineByteStreamCreator(Path path, String pvName, ArchDBRTypes type)
In this case, we get a whole file We need to position the lis past the header before returning.MultiFilePBEventStream(Path[] paths, String pvName, ArchDBRTypes dbrtype, Timestamp startTime, Timestamp endTime)
MultiFilePBEventStreamIterator(LineByteStreamCreator[] istreams, String pvName, short year, ArchDBRTypes type)
-
Uses of ArchDBRTypes in org.epics.archiverappliance
Fields in org.epics.archiverappliance declared as ArchDBRTypes Modifier and Type Field Description protected ArchDBRTypes
EventStreamDesc. archDBRType
Methods in org.epics.archiverappliance that return ArchDBRTypes Modifier and Type Method Description ArchDBRTypes
EventStreamDesc. getArchDBRType()
ArchDBRTypes
Event. getDBRType()
Methods in org.epics.archiverappliance with parameters of type ArchDBRTypes Modifier and Type Method Description void
EventStreamDesc. setArchDBRType(ArchDBRTypes archDBRType)
Constructors in org.epics.archiverappliance with parameters of type ArchDBRTypes Constructor Description EventStreamDesc(ArchDBRTypes archDBRType, String pvName)
-
Uses of ArchDBRTypes in org.epics.archiverappliance.common
Methods in org.epics.archiverappliance.common that return ArchDBRTypes Modifier and Type Method Description ArchDBRTypes
POJOEvent. getDBRType()
ArchDBRTypes
BasicContext. getRetrievalExpectedDBRType()
Constructors in org.epics.archiverappliance.common with parameters of type ArchDBRTypes Constructor Description BasicContext(ArchDBRTypes retrievalExpectedDBRType, String pvNameFromRequest)
EmptyEventStream(String pvName, ArchDBRTypes type)
POJOEvent(ArchDBRTypes dbrType, Timestamp recordProcessingTime, String sampleValueStr, int status, int severity)
POJOEvent(ArchDBRTypes dbrType, Timestamp recordProcessingTime, SampleValue sampleValue, int status, int severity)
-
Uses of ArchDBRTypes in org.epics.archiverappliance.common.mergededup
Methods in org.epics.archiverappliance.common.mergededup with parameters of type ArchDBRTypes Modifier and Type Method Description boolean
MergeDedupStoragePlugin. prepareForNewPartition(String pvName, Event ev, ArchDBRTypes archDBRType, ETLContext context)
boolean
MergeDedupStoragePlugin. runPostProcessors(String pvName, ArchDBRTypes dbrtype, ETLContext context)
-
Uses of ArchDBRTypes in org.epics.archiverappliance.config
Methods in org.epics.archiverappliance.config that return ArchDBRTypes Modifier and Type Method Description ArchDBRTypes
MetaInfo. getArchDBRTypes()
get ArchDBRTypesArchDBRTypes
PVTypeInfo. getDBRType()
static ArchDBRTypes
JCA2ArchDBRType. resolveFromCAInfo(gov.aps.jca.dbr.DBRType dt, int elementCount)
Get the equivalent archiver data type given a JCA DBRType.static ArchDBRTypes
ArchDBRTypes. valueOf(EPICSEvent.PayloadType payloadtype)
This is used to reverse map from the PB Payloadtype enum into a DBR typestatic ArchDBRTypes
ArchDBRTypes. valueOf(String name)
Returns the enum constant of this type with the specified name.static ArchDBRTypes
JCA2ArchDBRType. valueOf(gov.aps.jca.dbr.DBR d)
Get the equivalent archiver data type given a JCA DBRstatic ArchDBRTypes[]
ArchDBRTypes. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.epics.archiverappliance.config with parameters of type ArchDBRTypes Modifier and Type Method Description Constructor<? extends DBRTimeEvent>
TypeSystem. getJCADBRConstructor(ArchDBRTypes archDBRType)
Use this to create a new Event (actually DBRTimeEvent) from a JCA DBR class.static gov.aps.jca.dbr.DBRType
JCA2ArchDBRType. getJCATypeforArchDBRType(ArchDBRTypes archDBRTypes)
Get the JCA type appropriate for this arch dbr type.Constructor<? extends DBRTimeEvent>
TypeSystem. getSerializingConstructor(ArchDBRTypes archDBRType)
Use this to convert a DBRTimeEvent that does not support a rawform into one that supports raw form Used for integration with external datasources where we contruct a nonJCA class that implements DBRTimeEvent and then want to send it across the wire in raw form.Constructor<? extends DBRTimeEvent>
TypeSystem. getUnmarshallingFromByteArrayConstructor(ArchDBRTypes archDBRType)
Use this when reading serialized data from EventStreams; for example, FileEventStreams The constructor takes a short for the year that the data is applicable to and a byte array and gives you a DBRTimeEvent.Constructor<? extends DBRTimeEvent>
TypeSystem. getV4Constructor(ArchDBRTypes archDBRType)
Use this to create a new Event (actually DBRTimeEvent) from a EPICS v4 class.static SampleValue
ArchDBRTypes. sampleValueFromString(ArchDBRTypes dbrType, String sampleValueStr)
void
MetaInfo. setArchDBRTypes(ArchDBRTypes archDBRTypes)
set the archiving DBRType for this pvvoid
PVTypeInfo. setDBRType(ArchDBRTypes dBRType)
Constructors in org.epics.archiverappliance.config with parameters of type ArchDBRTypes Constructor Description PVTypeInfo(String pvName, ArchDBRTypes dBRType, boolean isScalar, int elementCount)
-
Uses of ArchDBRTypes in org.epics.archiverappliance.engine
Methods in org.epics.archiverappliance.engine with parameters of type ArchDBRTypes Modifier and Type Method Description static void
ArchiveEngine. archivePV(String pvName, float samplingPeriod, PolicyConfig.SamplingMethod mode, int secondstoBuffer, Writer writer, ConfigService configservice, ArchDBRTypes archdbrtype, Timestamp lastKnownEventTimeStamp, boolean usePVAccess, boolean useDBEProperties)
static void
ArchiveEngine. archivePV(String pvName, float samplingPeriod, PolicyConfig.SamplingMethod mode, int secondstoBuffer, Writer writer, ConfigService configservice, ArchDBRTypes archdbrtype, Timestamp lastKnownEventTimeStamp, String[] metaFieldNames, boolean usePVAccess, boolean useDBEProperties)
static void
ArchiveEngine. archivePV(String pvName, float samplingPeriod, PolicyConfig.SamplingMethod mode, int secondstoBuffer, Writer writer, ConfigService configservice, ArchDBRTypes archdbrtype, Timestamp lastKnownEventTimeStamp, String controllingPVName, boolean usePVAccess, boolean useDBEProperties)
static void
ArchiveEngine. archivePV(String pvName, float samplingPeriod, PolicyConfig.SamplingMethod mode, int secondstoBuffer, Writer writer, ConfigService configservice, ArchDBRTypes archdbrtype, Timestamp lastKnownEventTimeStamp, String controllingPVName, String[] metaFieldNames, String iocHostName, boolean usePVAccess, boolean useDBEProperties)
Create a new channel in monitor mode or in scan mode -
Uses of ArchDBRTypes in org.epics.archiverappliance.engine.model
Constructors in org.epics.archiverappliance.engine.model with parameters of type ArchDBRTypes Constructor Description ArchiveChannel(String name, Writer writer, Enablement enablement, int buffer_capacity, Timestamp last_archived_timestamp, ConfigService configservice, ArchDBRTypes archdbrtype, String controlPVname, int commandThreadID, boolean usePVAccess)
create archive channelDeltaArchiveChannel(String name, Writer writer, Enablement enablement, int buffer_capacity, Timestamp last_timeestamp, double period_estimate, double delta, ConfigService configservice, ArchDBRTypes archdbrtype, String controlPVname, int commandThreadID, boolean usePVAccess)
MonitoredArchiveChannel(String name, Writer writer, Enablement enablement, int buffer_capacity, Timestamp last_archived_timestamp, double period_estimate, ConfigService configservice, ArchDBRTypes archdbrtype, String controlPVname, int commandThreadID, boolean usePVAccess)
SampleBuffer(String channel_name, int capacity, ArchDBRTypes archdbrtype, PVMetrics pVMetrics)
Create sample buffer of given capacityScannedArchiveChannel(String name, Writer writer, Enablement enablement, int buffer_capacity, Timestamp last_timeestamp, double scan_period, ConfigService configservice, ArchDBRTypes archdbrtype, String controlPVname, int commandThreadID, boolean usePVAccess)
-
Uses of ArchDBRTypes in org.epics.archiverappliance.engine.pv
Methods in org.epics.archiverappliance.engine.pv that return ArchDBRTypes Modifier and Type Method Description ArchDBRTypes
EPICS_V3_PV. getArchDBRTypes()
ArchDBRTypes
EPICS_V4_PV. getArchDBRTypes()
ArchDBRTypes
PV. getArchDBRTypes()
get the archive DBR types for this pvArchDBRTypes
PVMetrics. getArchDBRTypes()
Methods in org.epics.archiverappliance.engine.pv with parameters of type ArchDBRTypes Modifier and Type Method Description static ControllingPV
PVFactory. createControllingPV(String name, ConfigService configservice, boolean isControlPV, ArchDBRTypes archDBRTypes, int jcaCommandThreadId, boolean usePVAccess)
static PV
PVFactory. createPV(String name, ConfigService configservice, boolean isControlPV, ArchDBRTypes archDBRTypes, int jcaCommandThreadId, boolean usePVAccess, boolean useDBEProperties)
This is the constructor used by the ArchiveChannel to create the main PV.void
PVMetrics. incrementInvalidTypeLostEventCount(ArchDBRTypes newCADBRType)
void
PVListener. sampleDroppedTypeChange(PV pv, ArchDBRTypes newDBRType)
Notification of a sample being dropped because of a type change Use to maintain countersConstructors in org.epics.archiverappliance.engine.pv with parameters of type ArchDBRTypes Constructor Description PVMetrics(String pvName, String controlPVname, long startEpochSeconds, ArchDBRTypes dbrTypes)
Constructor for PVMetrics -
Uses of ArchDBRTypes in org.epics.archiverappliance.etl
Methods in org.epics.archiverappliance.etl that return ArchDBRTypes Modifier and Type Method Description ArchDBRTypes
ETLInfo. getType()
Methods in org.epics.archiverappliance.etl with parameters of type ArchDBRTypes Modifier and Type Method Description boolean
ETLDest. prepareForNewPartition(String pvName, Event ev, ArchDBRTypes archDBRType, ETLContext context)
This informs the destination that we are switching to a new partition and this dest needs to execute its pre-processing for a new partition.boolean
ETLDest. runPostProcessors(String pvName, ArchDBRTypes dbrtype, ETLContext context)
Run the post processors associated with this plugin if any for this pv.Constructors in org.epics.archiverappliance.etl with parameters of type ArchDBRTypes Constructor Description ETLInfo(String pvName, ArchDBRTypes type, String key, PartitionGranularity granularity, ETLStreamCreator strmCreator, Event firstEvent, long size)
-
Uses of ArchDBRTypes in org.epics.archiverappliance.etl.common
Methods in org.epics.archiverappliance.etl.common that return ArchDBRTypes Modifier and Type Method Description ArchDBRTypes
ETLPVLookupItems. getDbrType()
Constructors in org.epics.archiverappliance.etl.common with parameters of type ArchDBRTypes Constructor Description ETLPVLookupItems(String pvName, ArchDBRTypes dbrType, ETLSource source, ETLDest dest, int lifetimeorder, ETLMetricsForLifetime metricsForLifetime, OutOfSpaceHandling outOfSpaceHandling)
-
Uses of ArchDBRTypes in org.epics.archiverappliance.etl.conversion
Constructors in org.epics.archiverappliance.etl.conversion with parameters of type ArchDBRTypes Constructor Description ThruNumberAndStringConversion(ArchDBRTypes destDBRType)
-
Uses of ArchDBRTypes in org.epics.archiverappliance.retrieval
Methods in org.epics.archiverappliance.retrieval that return ArchDBRTypes Modifier and Type Method Description ArchDBRTypes
RemotableEventStreamDesc. getArchDBRType()
ArchDBRTypes
MismatchedDBRTypeException. getConfigDBRType()
ArchDBRTypes
MismatchedDBRTypeException. getStreamDBRType()
Methods in org.epics.archiverappliance.retrieval with parameters of type ArchDBRTypes Modifier and Type Method Description void
RemotableEventStreamDesc. setArchDBRType(ArchDBRTypes archDBRType)
Constructors in org.epics.archiverappliance.retrieval with parameters of type ArchDBRTypes Constructor Description MismatchedDBRTypeException(String pvName, ArchDBRTypes configDBRType, String sourceDesc, ArchDBRTypes streamDBRType)
RemotableEventStreamDesc(ArchDBRTypes archDBRType, String pvName, short year)
-
Uses of ArchDBRTypes in org.epics.archiverappliance.retrieval.channelarchiver
Methods in org.epics.archiverappliance.retrieval.channelarchiver that return ArchDBRTypes Modifier and Type Method Description ArchDBRTypes
HashMapEvent. getDBRType()
Constructors in org.epics.archiverappliance.retrieval.channelarchiver with parameters of type ArchDBRTypes Constructor Description ArchiverValuesHandler(String pvName, InputStream is, String source, ArchDBRTypes expectedDBRType)
Create a archive.values handler given an event stream.HashMapEvent(ArchDBRTypes type, HashMap<String,Object> values)
HashMapEvent(ArchDBRTypes type, DBRTimeEvent event)
-
Uses of ArchDBRTypes in org.epics.archiverappliance.utils.blackhole
Methods in org.epics.archiverappliance.utils.blackhole with parameters of type ArchDBRTypes Modifier and Type Method Description boolean
BlackholeStoragePlugin. prepareForNewPartition(String pvName, Event ev, ArchDBRTypes archDBRType, ETLContext context)
boolean
BlackholeStoragePlugin. runPostProcessors(String pvName, ArchDBRTypes dbrtype, ETLContext context)
-
Uses of ArchDBRTypes in org.epics.archiverappliance.utils.imprt
Methods in org.epics.archiverappliance.utils.imprt that return ArchDBRTypes Modifier and Type Method Description ArchDBRTypes
CSVEvent. getDBRType()
Methods in org.epics.archiverappliance.utils.imprt with parameters of type ArchDBRTypes Modifier and Type Method Description static String
CSVEvent. toString(SampleValue val, ArchDBRTypes type)
Constructors in org.epics.archiverappliance.utils.imprt with parameters of type ArchDBRTypes Constructor Description CSVEvent(String[] line, ArchDBRTypes type)
CSVEventStream(String pvName, String fileName, ArchDBRTypes type)
Create a CSVEventStream backed by a file. -
Uses of ArchDBRTypes in org.epics.archiverappliance.utils.simulation
Methods in org.epics.archiverappliance.utils.simulation that return ArchDBRTypes Modifier and Type Method Description ArchDBRTypes
SimulationEvent. getDBRType()
Methods in org.epics.archiverappliance.utils.simulation with parameters of type ArchDBRTypes Modifier and Type Method Description int
SimulationValueGenerator. getNumberOfSamples(ArchDBRTypes type)
Get the number of events in the stream; this can be based on the incoming DBR_type.int
SineGenerator. getNumberOfSamples(ArchDBRTypes type)
SampleValue
SimulationValueGenerator. getSampleValue(ArchDBRTypes type, int secondsIntoYear)
Get the value at a particular point in time.SampleValue
SineGenerator. getSampleValue(ArchDBRTypes type, int secondsIntoYear)
Constructors in org.epics.archiverappliance.utils.simulation with parameters of type ArchDBRTypes Constructor Description SimulationEvent(int secondsIntoYear, short yearofdata, ArchDBRTypes type, SampleValue sampleValue)
SimulationEvent(int secondsIntoYear, short yearofdata, ArchDBRTypes type, SimulationValueGenerator valueGenerator)
SimulationEvent(YearSecondTimestamp yts, ArchDBRTypes type, SampleValue sampleValue)
SimulationEventStream(ArchDBRTypes type, SimulationValueGenerator valueGenerator)
SimulationEventStream(ArchDBRTypes type, SimulationValueGenerator valueGenerator, short year)
SimulationEventStream(ArchDBRTypes type, SimulationValueGenerator valueGenerator, short startyear, short endyear)
SimulationEventStreamIterator(ArchDBRTypes type, SimulationValueGenerator valueGenerator, short startyear, short endyear)
-