When using read with a pattern, then two step are performed: First, the MBeans are searched for, then their attributes are read. So, when an MBean gets deregistered inbetween, then the read will fail.
An InstanceNotFoundException should be ignored, which has effectively the same consequence as if the MBean wouldn't be included in the search result from the very beginning.
When using read with a pattern, then two step are performed: First, the MBeans are searched for, then their attributes are read. So, when an MBean gets deregistered inbetween, then the read will fail.
An
InstanceNotFoundExceptionshould be ignored, which has effectively the same consequence as if the MBean wouldn't be included in the search result from the very beginning.