mirror of https://github.com/apache/druid.git
no need for volatile references
we make no guarantees wrt threadsafety in this class
This commit is contained in:
parent
7dc0e9f1a9
commit
5eaadfffa9
|
@ -202,9 +202,9 @@ public abstract class HyperLogLogCollector implements Comparable<HyperLogLogColl
|
|||
return buffer.remaining() != NUM_BYTES_FOR_BUCKETS;
|
||||
}
|
||||
|
||||
private volatile ByteBuffer storageBuffer;
|
||||
private volatile int initPosition;
|
||||
private volatile Double estimatedCardinality;
|
||||
private ByteBuffer storageBuffer;
|
||||
private int initPosition;
|
||||
private Double estimatedCardinality;
|
||||
|
||||
public HyperLogLogCollector(ByteBuffer byteBuffer)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue