src/java/org/apache/cassandra/gms/Gossiper.java
// initialize local HB state if needed.
initialize local HB state if needed.
initialize local HB state if needed .
public void maybeInitializeLocalState(int generationNbr) 
    {
        EndpointState localState = endpointStateMap.get(FBUtilities.getBroadcastAddress());
        if ( localState == null )
        {
            HeartBeatState hbState = new HeartBeatState(generationNbr);
            localState = new EndpointState(hbState);
            localState.markAlive();
            endpointStateMap.put(FBUtilities.getBroadcastAddress(), localState);
        }
    }
public void maybeInitializeLocalState ( int generationNbr ) { EndpointState localState = endpointStateMap . get ( FBUtilities . getBroadcastAddress ( ) ) ; if ( localState == null ) { HeartBeatState hbState = new HeartBeatState ( generationNbr ) ; localState = new EndpointState ( hbState ) ; localState . markAlive ( ) ; endpointStateMap . put ( FBUtilities . getBroadcastAddress ( ) , localState ) ; } }
initialize local HB state if needed.
initialize local HB state if needed .