ResourceManager
Summary
Methods
Method |
Returns |
MountSuperBundle(superbundle: string, mediaHint: MediaHint = MediaHint.MediaHint_Default, optional: bool = false) |
void |
UnmountSuperBundle(superbundle: string) |
void |
GetSettings(settingsType: string) |
DataContainer | nil |
LookupDataContainer(compartment: ResourceCompartment, name: string) |
DataContainer | nil |
SearchForDataContainer(name: string) |
DataContainer | nil |
FindInstanceByGuid(partitionGuid: Guid, instanceGuid: Guid) |
DataContainer | nil |
SearchForInstanceByGuid(instanceGuid: Guid) |
DataContainer | nil |
FindDatabasePartition(partitionGuid: Guid) |
DatabasePartition | nil |
FindPartitionForInstance(instance: DataContainer) |
DatabasePartition | nil |
RegisterInstanceLoadHandler(partitionGuid: Guid, instanceGuid: Guid, callback: callable) |
ContainerCallback | nil |
RegisterInstanceLoadHandler(partitionGuid: Guid, instanceGuid: Guid, context: any, callback: callable) |
ContainerCallback |
RegisterInstanceLoadHandlerOnce(partitionGuid: Guid, instanceGuid: Guid, callback: callable) |
ContainerCallback |
RegisterInstanceLoadHandlerOnce(partitionGuid: Guid, instanceGuid: Guid, context: any, callback: callable) |
ContainerCallback |
RegisterPartitionLoadHandler(partitionGuid: Guid, callback: callable) |
ContainerCallback | nil |
RegisterPartitionLoadHandler(partitionGuid: Guid, context: any, callback: callable) |
ContainerCallback |
RegisterPartitionLoadHandlerOnce(partitionGuid: Guid, callback: callable) |
ContainerCallback |
RegisterPartitionLoadHandlerOnce(partitionGuid: Guid, context: any, callback: callable) |
ContainerCallback |
AddRegistry(registry: DataContainer, compartment: ResourceCompartment) |
void |
BeginLoadData(compartment: ResourceCompartment, bundles: string{}) |
int |
EndLoadData(handle: int) |
bool |
PollBundleOperation(handle: int) |
bool |
CancelBundleOperation(handle: int) |
void |
BeginClear(compartment: ResourceCompartment) |
int |
EndClear(handle: int) |
void |
AllocateDynamicCompartment(name: string, parent: ResourceCompartment, clientOnly: bool) |
ResourceCompartment |
DestroyDynamicCompartment(compartment: ResourceCompartment) |
void |
Methods
MountSuperBundle
MountSuperBundle(superbundle: string, mediaHint: MediaHint = MediaHint.MediaHint_Default, optional: bool = false)
Parameters
Name |
Type |
Description |
superbundle |
string |
|
mediaHint |
MediaHint |
|
optional |
bool |
|
UnmountSuperBundle
UnmountSuperBundle(superbundle: string)
Parameters
Name |
Type |
Description |
superbundle |
string |
|
GetSettings
GetSettings(settingsType: string): DataContainer | nil
Parameters
Name |
Type |
Description |
settingsType |
string |
|
Returns
LookupDataContainer
LookupDataContainer(compartment: ResourceCompartment, name: string): DataContainer | nil
Parameters
Returns
SearchForDataContainer
SearchForDataContainer(name: string): DataContainer | nil
Parameters
Name |
Type |
Description |
name |
string |
|
Returns
FindInstanceByGuid
FindInstanceByGuid(partitionGuid: Guid, instanceGuid: Guid): DataContainer | nil
Parameters
Name |
Type |
Description |
partitionGuid |
Guid |
|
instanceGuid |
Guid |
|
Returns
SearchForInstanceByGuid
SearchForInstanceByGuid(instanceGuid: Guid): DataContainer | nil
Parameters
Name |
Type |
Description |
instanceGuid |
Guid |
|
Returns
FindDatabasePartition
FindDatabasePartition(partitionGuid: Guid): DatabasePartition | nil
Parameters
Name |
Type |
Description |
partitionGuid |
Guid |
|
Returns
FindPartitionForInstance
FindPartitionForInstance(instance: DataContainer): DatabasePartition | nil
Parameters
Returns
RegisterInstanceLoadHandler
RegisterInstanceLoadHandler(partitionGuid: Guid, instanceGuid: Guid, callback: callable): ContainerCallback | nil
Parameters
Name |
Type |
Description |
partitionGuid |
Guid |
|
instanceGuid |
Guid |
|
callback |
callable |
|
Returns
RegisterInstanceLoadHandler
RegisterInstanceLoadHandler(partitionGuid: Guid, instanceGuid: Guid, context: any, callback: callable): ContainerCallback
Parameters
Name |
Type |
Description |
partitionGuid |
Guid |
|
instanceGuid |
Guid |
|
context |
any |
|
callback |
callable |
|
Returns
RegisterInstanceLoadHandlerOnce
RegisterInstanceLoadHandlerOnce(partitionGuid: Guid, instanceGuid: Guid, callback: callable): ContainerCallback
Parameters
Name |
Type |
Description |
partitionGuid |
Guid |
|
instanceGuid |
Guid |
|
callback |
callable |
|
Returns
RegisterInstanceLoadHandlerOnce
RegisterInstanceLoadHandlerOnce(partitionGuid: Guid, instanceGuid: Guid, context: any, callback: callable): ContainerCallback
Parameters
Name |
Type |
Description |
partitionGuid |
Guid |
|
instanceGuid |
Guid |
|
context |
any |
|
callback |
callable |
|
Returns
RegisterPartitionLoadHandler
RegisterPartitionLoadHandler(partitionGuid: Guid, callback: callable): ContainerCallback | nil
Parameters
Name |
Type |
Description |
partitionGuid |
Guid |
|
callback |
callable |
|
Returns
RegisterPartitionLoadHandler
RegisterPartitionLoadHandler(partitionGuid: Guid, context: any, callback: callable): ContainerCallback
Parameters
Name |
Type |
Description |
partitionGuid |
Guid |
|
context |
any |
|
callback |
callable |
|
Returns
RegisterPartitionLoadHandlerOnce
RegisterPartitionLoadHandlerOnce(partitionGuid: Guid, callback: callable): ContainerCallback
Parameters
Name |
Type |
Description |
partitionGuid |
Guid |
|
callback |
callable |
|
Returns
RegisterPartitionLoadHandlerOnce
RegisterPartitionLoadHandlerOnce(partitionGuid: Guid, context: any, callback: callable): ContainerCallback
Parameters
Name |
Type |
Description |
partitionGuid |
Guid |
|
context |
any |
|
callback |
callable |
|
Returns
AddRegistry
AddRegistry(registry: DataContainer, compartment: ResourceCompartment)
Parameters
BeginLoadData
BeginLoadData(compartment: ResourceCompartment, bundles: string{}): int
Parameters
Returns
EndLoadData
EndLoadData(handle: int): bool
Parameters
Name |
Type |
Description |
handle |
int |
|
Returns
PollBundleOperation
PollBundleOperation(handle: int): bool
Parameters
Name |
Type |
Description |
handle |
int |
|
Returns
CancelBundleOperation
CancelBundleOperation(handle: int)
Parameters
Name |
Type |
Description |
handle |
int |
|
BeginClear
BeginClear(compartment: ResourceCompartment): int
Parameters
Returns
EndClear
EndClear(handle: int)
Parameters
Name |
Type |
Description |
handle |
int |
|
AllocateDynamicCompartment
AllocateDynamicCompartment(name: string, parent: ResourceCompartment, clientOnly: bool): ResourceCompartment
Parameters
Returns
DestroyDynamicCompartment
DestroyDynamicCompartment(compartment: ResourceCompartment)
Parameters