src/java/org/apache/cassandra/locator/TokenMetadata.java
/**
     * Remove pair of token/address from moving endpoints
     * @param endpoint address of the moving node
     */
Remove pair of token/address from moving endpoints
@param endpoint address of the moving node
Remove pair of token / address from moving endpoints @param endpoint address of the moving node
public void removeFromMoving(InetAddress endpoint)
    {
        assert endpoint != null;
        lock.writeLock().lock();
        try
        {
            for (Pair<Token, InetAddress> pair : movingEndpoints)
            {
                if (pair.right.equals(endpoint))
                {
                    movingEndpoints.remove(pair);
                    break;
                }
            }
            invalidateCaches();
        }
        finally
        {
            lock.writeLock().unlock();
        }
    }
public void removeFromMoving ( InetAddress endpoint ) { assert endpoint != null ; lock . writeLock ( ) . lock ( ) ; try { for ( Pair < Token , InetAddress > pair : movingEndpoints ) { if ( pair . right . equals ( endpoint ) ) { movingEndpoints . remove ( pair ) ; break ; } } invalidateCaches ( ) ; } finally { lock . writeLock ( ) . unlock ( ) ; } }
Remove pair of token/address from moving endpoints
 @param endpoint address of the moving node
Remove pair of token / address from moving endpoints @param endpoint address of the moving node