hazelcast / hz-docs

Source content for the Hazelcast Platform documentation
10 stars 90 forks source link

Docs: Feedback for Filtering Members with Attributes #1144

Open jmini opened 2 weeks ago

jmini commented 2 weeks ago

Hi, I have some feedback about this page

The HazelcastInstance interface does not provide the setAttribute(..) method, so the code snippet is invalid:

        HazelcastInstance member4 = Hazelcast.newHazelcastInstance();
        // We can also set member attributes at runtime.
        member4.setAttribute( "CPU_CORE_COUNT", "2" );

Are you sure it is still possible to do "or provide the member attributes at runtime via attribute setter methods on the Member interface."?