Brightsign Object Reference Manual (FW 5.1) Instrukcja Użytkownika Strona 184

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 341
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 183
176
ReserveMegabytes(size As Integer) As Boolean: Reserves the specified amount of storage space. This
method is dynamic: The system software attempts to keep the space free even when parallel processes are filling
up the storage.
SetMaximumPoolSizeMegabytes(maximum_size As Integer) As Boolean: Specifies the maximum size
of an roAssetPool instance in megabytes. This method is more resource-intensive than ReserveMegabytes(),
but it is useful when creating multiple pools on a storage device.
GetPoolSizeInMegabytes() As Integer
Validate(sync_spec As Object, options As roAssociativeArray) As Boolean: Checks the
SHA1 hash value of every file in the sync spec that is currently present in the pool. This method returns True if all
checks pass and False if one or more checks fail. Calling GetFailureReason() will return information about the
corrupt file(s). Note that a True return may not mean that all files in the sync spec are currently present in the pool.
The second parameter represents a table of validation options: The key specifies the option and the value specifies
whether the option is enabled or not (as a Boolean value). Currently, the only option is "DeleteCorrupt", which
determines whether the method should automatically delete corrupt files or not.
QueryFiles(a As Object) As Object
AssetsReady(collection As Object) As Boolean
Przeglądanie stron 183
1 2 ... 179 180 181 182 183 184 185 186 187 188 189 ... 340 341

Komentarze do niniejszej Instrukcji

Brak uwag