Class DistributedSessionIdentityMapAccessor

    • Method Detail

      • initializeAllIdentityMaps

        public void initializeAllIdentityMaps()
        Reset the entire object cache. This method blows away both this session's and its parents caches, including the server cache or any other cache. This throws away any objects that have been read in. Extream caution should be used before doing this because object identity will no longer be maintained for any objects currently read in. This should only be called if the application knows that it no longer has references to object held in the cache.
        Specified by:
        initializeAllIdentityMaps in interface IdentityMapAccessor
        Overrides:
        initializeAllIdentityMaps in class IdentityMapAccessor
      • initializeIdentityMapsOnServerSession

        public void initializeIdentityMapsOnServerSession()
        INTERNAL: Flushes the server side cache, because the server cache may be shared, caution should be used in calling this.