public virtual bool EnableCompression() { compressionThreshold = getCompressionThreshold (); return compressionThreshold > 0; }