com.jrockit.memleak.util
Interface IModifyOnce
- All Known Implementing Classes:
- ArrayInfo, ClassInfo, NameMappingCacheFactory.ClassInfoR26
public interface IModifyOnce
An interface that may optionally be implemented by classes returned from a
IMemleakValueFactory
, for setting properties that were not known at
creation time.
For some IMemLeak
implementations, it may be very expensive to
determine all property values when an object or class is referenced for the
first time. While some values cannot be determined at all, some others can be
determined only in certain scenarios (at least to a reasonable cost). For
those scenarios, this interface provides a way to store such values in the
existing info objects, possibly enabling additional GUI functionality.
FIXME: Find a good name for this class!
- Author:
- mpersson
overrideDefault
boolean overrideDefault(ValueProperty property,
java.lang.Object value)
- Parameters:
property
- value
-
- Returns:
- true if the value changed
Copyright © 1999, 2011, Oracle and/or its affiliates. All rights reserved.