hazelcast/hz-docs

Docs: Feedback for Filtering Members with Attributes

Opened this issue · 0 comments

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."?