Retrieval of Log Store Policy

Retrieves the properties of the domain log store policy.

Syntax

DomainLogStorePolicyVO getDomainLogStorePolicy() throws SUPAdminException;

Returns

If successful, returns an object of the specified type (can be null). If unsuccessful, returns SUPAdminException.

Examples

  • Retrieval
    DomainLogStorePolicyVO dlspvo = supCluster
    		.getDomainLogStorePolicy();
    System.out.println(dlspvo.getCurrentDomainLogDataSource());
    System.out.println(dlspvo.getAvailableDomainLogDataSource());
    System.out.println(dlspvo.getDomainLogFlushBatchSize());
    System.out.println(dlspvo.getLazyWriteEnabled());
    System.out.println(dlspvo.getLazyWriteRowThreshold());
    System.out.println(dlspvo.getLazyWriteTimeThreshold());
    System.out.println(dlspvo.getPurgeTimeThreshold());
    

Usage

These methods are only accessible to the Platform Administrator.