public Set < BsonValue > getPausedDocumentIds ( final MongoNamespace namespace ) { this . waitUntilInitialized ( ) ; try { ongoingOperationsGroup . enter ( ) ; final Set < BsonValue > pausedDocumentIds = new HashSet <> ( ) ; for ( final CoreDocumentSynchronizationConfig config : this . syncConfig . getSynchronizedDocuments ( namespace ) ) { if ( config . isPaused ( ) ) { pausedDocumentIds . add ( config . getDocumentId ( ) ) ; } } return pausedDocumentIds ; } finally { ongoingOperationsGroup . exit ( ) ; } }
Return the set of synchronized document _ids in a namespace that have been paused due to an irrecoverable error .