Can someone show me how to clear our local cache.....i need some light about it
Try something like this...
DiscoveryServise discovery = group.getDiscoveryService();
Enumeration advs = discovery.getLocalAdvertisements(type,"Name","value");
This will remove all advertisements with specified type and property 'Name' with specified value 'value'. Name and value can be null to specifie all advertisements of specified type.
Thank you my friend for your help, it is very helpful
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.