private < T > CoreRemoteMongoCollection < T > getRemoteCollection ( final MongoNamespace namespace , final Class < T > resultClass ) { return remoteClient . getDatabase ( namespace . getDatabaseName ( ) ) . getCollection ( namespace . getCollectionName ( ) , resultClass ) ; }
Returns the remote collection representing the given namespace .