Starting ASPersistence

Procedure

  1. Run the relevant examples of ASPersistence for each of the API sets.
  2. Use the one of the following methods:
    Java Invocation java ASPersistence -metaspace examplems -member_name sharedall -capacity 2 -eviction_policy lru
    C Invocation ASPersistence -metaspace examplems -member_name sharedall -capacity 2 -eviction_policy lru
    .NET Invocation AS_HOME\examples\dotnet\ASPersistence.exe -metaspace examplems -member_name sharedall -capacity 2 -eviction_policy lru
    Note: ASPersistence does not use the default space but uses a basic space definition and sets the persistence type of the space to 'shared-all'. ASPersistence uses a default space name of shared_all_persisted to identify this slightly different space so that you will not get a space definition mismatch with the other examples which may already be running.
  3. The examples indicate how to invoke ASOperations to work in conjunction with the ASPersistence example so that you can see the various methods of the persister being invoked.
    Java Invocation for ASOperations with ASPersistence java ASOperations -metaspace examplems -role seeder -persistence shared_all -capacity 2 -eviction_policy lru
    C Invocation for ASOperations with ASPersistence ASOperations -metaspace examplems -role seeder -persistence shared_all -capacity 2 -eviction_policy lru
    .NET Invocation AS_HOME\examples\dotnet\ASOperations.exe -metaspace examplems -space shared_all_persisted -persistence share_all -capacity 2 -eviction_policy lru