Top Fields Constructors Methods
com.sun.jmx.mbeanserver

public Class DescriptorCache

extends Object
Class Inheritance
Imports
java.lang.ref.WeakReference, java.util.WeakHashMap, javax.management.Descriptor, .ImmutableDescriptor, .JMX

Field Summary

Modifier and TypeField and Description
private static final DescriptorCache
private final WeakHashMap<ImmutableDescriptor, WeakReference<ImmutableDescriptor>>

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public ImmutableDescriptor
pack-priv static DescriptorCache
public static DescriptorCache
public ImmutableDescriptor
union(Descriptor... descriptors)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

instanceback to summary
private static final DescriptorCache instance
mapback to summary
private final WeakHashMap<ImmutableDescriptor, WeakReference<ImmutableDescriptor>> map

Constructor Detail

DescriptorCacheback to summary
private DescriptorCache()

Method Detail

getback to summary
public ImmutableDescriptor get(ImmutableDescriptor descriptor)
getInstanceback to summary
pack-priv static DescriptorCache getInstance()
getInstanceback to summary
public static DescriptorCache getInstance(JMX proof)
unionback to summary
public ImmutableDescriptor union(Descriptor... descriptors)