private boolean isRefreshIndexes ( ) { if ( clientProperties != null ) { Object refreshIndexes = clientProperties . get ( ESConstants . ES_REFRESH_INDEXES ) ; if ( refreshIndexes != null && refreshIndexes instanceof Boolean ) { return ( boolean ) refreshIndexes ; } else { return Boolean . parseBoolean ( ( String ) refreshIndexes ) ; } } else { return this . setRereshIndexes ; } }
Checks if is refresh indexes .