Skip to main content

commit()

Addedv2.5.x

This operation commits the appended data.

public void commit(boolean async)

Request Syntax

localBulkWriter.commit(
boolean async
)

PARAMETERS:

  • async (boolean) -

    Whether the commit operation returns immediately after being called.

RETURN TYPE:

void

Examples

localBulkWriter.commit(false);