0 Replies Latest reply: Nov 29, 2012 6:47 AM by Jianhong RSS

    can read-write-backing-map-scheme and overflow-scheme co-exist?

    Jianhong
      Hi,

      I'd like to use <read-write-backing-map-scheme> and <overflow-scheme> to write behind cache data to database and write overflowed data to disk. However, it seems those two scheme can not be co-exist in <backing-map-scheme>, could anybody tell me how to do that? The following is my configuration file.

      Thanks in advance.

      Jianhong

      <backing-map-scheme>

      <overflow-scheme>
      <scheme-name>SampleOverflowScheme</scheme-name>
      <front-scheme>
      <local-scheme>
      <scheme-ref>SampleMemoryLimitedScheme</scheme-ref>
      </local-scheme>
      </front-scheme>
      <back-scheme>
      <external-scheme>
      <scheme-ref>SampleDiskScheme</scheme-ref>
      </external-scheme>
      </back-scheme>
      </overflow-scheme>

      <read-write-backing-map-scheme>
      <internal-cache-scheme>
      <local-scheme/>
      </internal-cache-scheme>
      <cachestore-scheme>
      <class-scheme>
      <class-name>com.oracle.CCBCacheStore</class-name>
      </class-scheme>
      </cachestore-scheme>
      <write-delay>10s</write-delay>
      </read-write-backing-map-scheme>

      </backing-map-scheme>