Class BlobStorageAccessor

  • All Implemented Interfaces:
    DataAccessor, cz.o2.proxima.storage.internal.AbstractDataAccessor, java.io.Serializable

    @Internal
    public abstract class BlobStorageAccessor
    extends cz.o2.proxima.storage.AbstractStorage.SerializableAbstractStorage
    implements DataAccessor
    A DataAccessor for blob storages.
    See Also:
    Serialized Form
    • Field Detail

      • LOG_ROLL_INTERVAL

        public static final java.lang.String LOG_ROLL_INTERVAL
        How often to roll the blob in milliseconds.
        See Also:
        Constant Field Values
      • ALLOWED_LATENESS_MS

        public static final java.lang.String ALLOWED_LATENESS_MS
        Maximal allowed lateness to wait before segment is rolled. Late data are put to separate blob and flushed periodically with on time data.
        See Also:
        Constant Field Values
      • PARTITION_SIZE

        public static final java.lang.String PARTITION_SIZE
        Minimal size of partition in bytes.
        See Also:
        Constant Field Values
      • PARTITION_MAX_BLOBS

        public static final java.lang.String PARTITION_MAX_BLOBS
        Maximal number of blobs to be put in single partition.
        See Also:
        Constant Field Values
      • PARTITION_MAX_TIME_SPAN_MS

        public static final java.lang.String PARTITION_MAX_TIME_SPAN_MS
        Maximal amount of time (in milliseconds) a partition containing multiple blobs can span.
        See Also:
        Constant Field Values
      • familyDescriptor

        final cz.o2.proxima.repository.AttributeFamilyDescriptor familyDescriptor
      • cfg

        final java.util.Map<java.lang.String,​java.lang.Object> cfg
    • Constructor Detail

      • BlobStorageAccessor

        protected BlobStorageAccessor​(cz.o2.proxima.repository.AttributeFamilyDescriptor family)
    • Method Detail

      • getCfg

        public java.util.Map<java.lang.String,​java.lang.Object> getCfg()
      • setCfg

        void setCfg​(java.lang.String key,
                    java.lang.Object value)
      • getTargetFileSystem

        public abstract FileSystem getTargetFileSystem()
      • getTmpDir

        public java.io.File getTmpDir()
      • getRollPeriod

        public long getRollPeriod()
      • getAllowedLateness

        public long getAllowedLateness()
      • getPartitionMinSize

        public long getPartitionMinSize()
      • getPartitionMaxNumBlobs

        public int getPartitionMaxNumBlobs()
      • getPartitionMaxTimeSpanMs

        public long getPartitionMaxTimeSpanMs()