MapAccessSyncClient

interface MapAccessSyncClient

Interface for interoperability with a native IMapAccessSyncClient.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun acquireExclusiveAccess(updateRegion: ByteArray): Int

Attempt to acquire exclusive (write) access to a specific Update Region of the map.

Link copied to clipboard
abstract fun acquireSharedAccess(): Boolean

Attempt to acquire shared access to the map. Unlike other components, with shared access, MapUpdate can both read the map content and CAN modify files in the map directory, but in such a way that other readers are not affected (the modified content is available to other readers only when MapUpdate commits the changes - after acquiring exclusive access).

Link copied to clipboard
abstract fun acquireWholeMapExclusiveAccess(): Int

Attempt to acquire exclusive (write) access to the map.

Link copied to clipboard
abstract fun releaseExclusiveAccess()

Releases exclusive (write) access to the map and returns to shared (read-only).

Link copied to clipboard
abstract fun releaseSharedAccess()

Release shared (read-only) access to the map.