public class CephGzipArchiveBuffer extends GzipArchiveBuffer
CephGzipArchiveBuffer writes its content into a Ceph cluster.createRoot, outputStreamdestinations, filename, maxWrites, minWrites, pool| Constructor and Description |
|---|
CephGzipArchiveBuffer(int minWrites,
int maxWrites,
List<org.thales.punch.libraries.objectstorage.tuples.ArchiveDevice> destinations,
org.thales.punch.libraries.record.client.encoder.api.IRecordEncoder<Map<String,Object>> encoder,
org.thales.punch.libraries.record.client.encoder.api.IRecordEncoder.RecordFormat format) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
writeToDestination(org.thales.punch.libraries.objectstorage.tuples.ArchiveDevice destination,
byte[] bb)
Write byte array to provided destination.
|
getByteArray, putBytesclose, getDigest, getSize, getUncompressedSize, putexit, getBatchOutputPath, handleDeviceFailure, preparepublic CephGzipArchiveBuffer(int minWrites,
int maxWrites,
List<org.thales.punch.libraries.objectstorage.tuples.ArchiveDevice> destinations,
org.thales.punch.libraries.record.client.encoder.api.IRecordEncoder<Map<String,Object>> encoder,
org.thales.punch.libraries.record.client.encoder.api.IRecordEncoder.RecordFormat format)
protected void writeToDestination(org.thales.punch.libraries.objectstorage.tuples.ArchiveDevice destination,
byte[] bb)
throws IOException
PlainArchiveBufferwriteToDestination in class PlainArchiveBufferdestination - targetbb - content to writeIOException - Unable to writeCopyright © 2023. All rights reserved.