GemFire 5.8

Interface ObjectSizer

All Known Implementing Classes:

public interface ObjectSizer

The sizer interface defines a method that when called returns the size of the object passed in. An implementation of this method is required to use MemLRUController with a region. Implementation may return hardcoded values for object size if the implementation knows the object size for all objects that are likely to be cached. Regions that store only byte arrays or blobs need not provide a sizer implementation


Method Summary
 int sizeof(Object o)

Method Detail


int sizeof(Object o)

GemFire 5.8

Copyright © 2002-2008 GemStone Systems, Inc. All Rights Reserved.