OCluster - updateRecord()

Updates the given record with new data.

Updating Records

When working with clusters, you can update a record through the OCluster instance using this method.

Syntax

void OCluster().updateRecord(
   long pos,
   byte[] content,
   int version,
   byte type)
ArgumentTypeDescription
poslongPosition of record in cluster
contentbyte[]Content to set on the record
versionintVersion of record to update
typebyteRecord type