private void writeExternalStreamStates ( JSONStringer stringer ) throws JSONException { stringer . key ( DISABLED_EXTERNAL_STREAMS ) . array ( ) ; for ( int partition : m_disabledExternalStreams ) { stringer . value ( partition ) ; } stringer . endArray ( ) ; }
Writes external streams state for partitions into snapshot digest .