Class Overview
A CompositeData for MemoryNotificationInfo for the local management support.
This class avoids the performance penalty paid to the
construction of a CompositeData use in the local case.
Summary
[Expand]
Inherited Methods |
From class
sun.management.LazyCompositeData
boolean
|
containsKey(String key)
Returns true if and only if this CompositeData instance contains
an item whose name is key.
|
boolean
|
containsValue(Object value)
Returns true if and only if this CompositeData instance contains an item
whose value is value.
|
boolean
|
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
Object
|
get(String key)
Returns the value of the item whose name is key.
|
Object[]
|
getAll(String[] keys)
Returns an array of the values of the items whose names are specified by keys, in the same order as keys.
|
abstract
CompositeData
|
getCompositeData()
Returns the CompositeData representing this object.
|
CompositeType
|
getCompositeType()
Returns the composite type of this composite data instance.
|
int
|
hashCode()
Returns a hash code value for the object.
|
static
boolean
|
isTypeMatched(TabularType type1, TabularType type2)
|
static
boolean
|
isTypeMatched(CompositeType type1, CompositeType type2)
Compares two CompositeTypes and returns true if
all items in type1 exist in type2 and their item types
are the same.
|
String
|
toString()
Returns a string representation of the object.
|
Collection
|
values()
Returns an unmodifiable Collection view of the item values contained in this CompositeData instance.
|
Object
|
writeReplace()
Designate to a CompositeData object when writing to an
output stream during serialization so that the receiver
only requires JMX 1.2 classes but not any implementation
specific class.
|
|
From class
java.lang.Object
Object
|
clone()
Creates and returns a copy of this object.
|
boolean
|
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
void
|
finalize()
Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
|
final
Class<?>
|
getClass()
Returns the runtime class of this Object .
|
int
|
hashCode()
Returns a hash code value for the object.
|
final
void
|
notify()
Wakes up a single thread that is waiting on this object's
monitor.
|
final
void
|
notifyAll()
Wakes up all threads that are waiting on this object's monitor.
|
String
|
toString()
Returns a string representation of the object.
|
final
void
|
wait()
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object.
|
final
void
|
wait(long timeout, int nanos)
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object, or
some other thread interrupts the current thread, or a certain
amount of real time has elapsed.
|
final
void
|
wait(long timeout)
Causes the current thread to wait until either another thread invokes the
notify() method or the
notifyAll() method for this object, or a
specified amount of time has elapsed.
|
|
From interface
javax.management.openmbean.CompositeData
abstract
boolean
|
containsKey(String key)
Returns true if and only if this CompositeData instance contains
an item whose name is key.
|
abstract
boolean
|
containsValue(Object value)
Returns true if and only if this CompositeData instance contains an item
whose value is value.
|
abstract
boolean
|
equals(Object obj)
Compares the specified obj parameter with this
CompositeData instance for equality.
|
abstract
Object
|
get(String key)
Returns the value of the item whose name is key.
|
abstract
Object[]
|
getAll(String[] keys)
Returns an array of the values of the items whose names are specified by keys, in the same order as keys.
|
abstract
CompositeType
|
getCompositeType()
Returns the composite type of this composite data instance.
|
abstract
int
|
hashCode()
Returns the hash code value for this CompositeData instance.
|
abstract
String
|
toString()
Returns a string representation of this CompositeData instance.
|
abstract
Collection<?>
|
values()
Returns an unmodifiable Collection view of the item values contained in this CompositeData instance.
|
|
Public Methods
public
static
void
validateCompositeData
(CompositeData cd)
Validate if the input CompositeData has the expected
CompositeType (i.e. contain all attributes with expected
names and types).
Protected Methods
protected
CompositeData
getCompositeData
()
Returns the CompositeData representing this object.
The returned CompositeData object must be an instance
of javax.management.openmbean.CompositeDataSupport class
so that no implementation specific class is required
for unmarshalling besides JMX 1.2 classes.