Project-specific storage.

Note: Do not use spaces in any IDs or key names. All entity IDs use the same namespace regardless of type.

Constructor

new (srv:Server, p:String, id:Int)

Fields

read only lists:StorageLists

read only maps:StorageMaps

read only sets:StorageSets

Methods

lock (key:String):Bool

Try to get a named lock using project storage. Returns immediately in any case.

Parameters:

key

Lock ID.

Returns:

True, if lock acquired. False otherwise.

unlock (key:String):Void

Release a named lock using project storage.

Parameters:

key

Lock ID.