public class Store extends Object implements AutoCloseable
| Constructor and Description |
|---|
Store(String partition)
Connects to a DAQ store.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addImageListener(ImageListener l)
Add an image listener to this store.
|
void |
close() |
long |
getCapacity()
The total capacity in bytes of this store.
|
Catalog |
getCatalog()
Get the catalog associated with this store.
|
org.lsst.ccs.utilities.location.LocationSet |
getConfiguredSources()
Get the set of configured locations in this partition
|
String |
getPartition()
The name of the associated DAQ partition.
|
long |
getRemaining()
The storage capacity remaining (unused) in bytes.
|
void |
removeImageListener(ImageListener l)
Remove an image listener.
|
public Store(String partition) throws DAQException
partition - The name of the partitionDAQException - If the partition does not exist, or something else
goes wrongpublic Catalog getCatalog()
public String getPartition()
public long getCapacity()
throws DAQException
DAQException - If unable to access to DAQ storepublic long getRemaining()
throws DAQException
DAQException - If unable to access the DAQ storepublic org.lsst.ccs.utilities.location.LocationSet getConfiguredSources()
throws DAQException
DAQExceptionpublic void addImageListener(ImageListener l)
l - The image listener to add.public void removeImageListener(ImageListener l)
l - The image listener to remove.public void close()
throws DAQException
close in interface AutoCloseableDAQExceptionCopyright © 2020 LSST. All rights reserved.