Examples of inspectCache()


Examples of org.serviceconnector.api.cln.SCClient.inspectCache()

    // 5: verify callback retrieval - 3 appendix within 10sec
    cacheGuardianCbk.waitForAppendMessage(3, 10);

    // 6: verify data is in cache on SC0
    Map<String, String> inspectResponse = clientToSc0.inspectCache("700");
    this.checkCacheInspectString(inspectResponse, "success", SC_CACHE_ENTRY_STATE.LOADED, "700", "3",
        "700/0/0=0&700/1/0=1&700/2/0=1&700/3/0=1&", TestConstants.cacheGuardian1);

    // 7: start cache guardian over top level (cascaded) SC - doing nothing
    subMsg.setSessionInfo(TestConstants.doNothingCmd);
View Full Code Here

Examples of org.serviceconnector.api.cln.SCClient.inspectCache()

    // 8: stop cache guardian over SC0 - cached managed data should stay
    clientToSc0.stopCacheGuardian();

    // 9: verify data is still in cache on SC0
    inspectResponse = clientToSc0.inspectCache("700");
    this.checkCacheInspectString(inspectResponse, "success", SC_CACHE_ENTRY_STATE.LOADED, "700", "3",
        "700/0/0=0&700/1/0=1&700/2/0=1&700/3/0=1&", TestConstants.cacheGuardian1);

    // 10: verify data is NOT in top level cache
    inspectResponse = this.mgmtClient.inspectCache("700");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.