Google.Maps.TileLoading.CacheBlock.Transaction

Temporary representation of the state of a CacheBlock.Entry, that can be atomically written back to the entry and to the persistent cache.

Summary

Constructors and Destructors

Transaction(CacheBlock block, Entry entry)
Constructor.

Public attributes

Block
readonly CacheBlock
Cache block.
Entry
readonly Entry
Cache block entry.
MapTile
MapTile
Parsed map tile.

Properties

Expiry
DateTime
Expiry time.
Svt
byte[]
Obfuscated SVT.
VersionId
string
Tile version ID.

Public functions

Clear()
void
Clears all data in the cache entry.
Commit(IPersistentCache persistentCache)
void
Writes changes back to the cache block entry. If changes have been made to the persistable state, also write it to the persistent cache.

Public attributes

Block

readonly CacheBlock Block

Cache block.

Entry

readonly Entry Entry

Cache block entry.

MapTile

MapTile MapTile

Parsed map tile.

Properties

Expiry

DateTime Expiry

Expiry time.

Svt

byte[] Svt

Obfuscated SVT.

VersionId

string VersionId

Tile version ID.

Public functions

Clear

void Clear()

Clears all data in the cache entry.

Commit

void Commit(
  IPersistentCache persistentCache
)

Writes changes back to the cache block entry. If changes have been made to the persistable state, also write it to the persistent cache.

Details
Parameters
persistentCache
Persistent cache. Can be null.

Transaction

 Transaction(
  CacheBlock block,
  Entry entry
)

Constructor.

Details
Parameters
block
Cache block.
entry
Cache block entry.

Send feedback about...

Google Maps Platform gaming solution
Google Maps Platform gaming solution