com.hazelcast.map.impl
Interface SizeEstimator<T>

Type Parameters:
T - the type of object which's size going to be estimated.

public interface SizeEstimator<T>

Size estimator general contract.


Method Summary
 void add(long size)
           
 long getCost(T record)
           
 long getSize()
           
 void reset()
           
 

Method Detail

getSize

long getSize()

add

void add(long size)

getCost

long getCost(T record)

reset

void reset()


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.