Interface L1Manager

  • public interface L1Manager
    Manages the L1 Cache, in particular recording anyone who is going to cache an a command that a node responds to so that a unicast invalidation can be sent later if needed.
    Pete Muir
    • Method Detail

      • addRequestor

        void addRequestor​(java.lang.Object key,
                          Address requestor)
        Records a request that will be cached in another nodes L1
      • flushCache

        java.util.concurrent.CompletableFuture<?> flushCache​(java.util.Collection<java.lang.Object> key,
                                                             Address origin,
                                                             boolean assumeOriginKeptEntryInL1)
      • unregisterL1WriteSynchronizer

        void unregisterL1WriteSynchronizer​(java.lang.Object key,
                                           L1WriteSynchronizer sync)
        Unregister the given write synchronizer if present. Note the synchronizer is only unregistered if it matches using instance equality (==) due to possibly concurrent usage of write synchronizers
        key - The key to unregister the given synchronizer for.
        sync - The synchronizer to be removed if it is still present.