Class LayeredCQModel

java.lang.Object
jline.examples.java.advanced.LayeredCQModel

public class LayeredCQModel extends Object
Model definitions for Layered CQ (Contention Queue) examples. Companion class to LayeredCQExamples.
  • Constructor Details

    • LayeredCQModel

      public LayeredCQModel()
  • Method Details

    • lcq_singlehost

      public static LayeredNetwork lcq_singlehost()
      Model for lcq_singlehost.ipynb - matches MATLAB lcq_singlehost.m This model includes a cache task with hit/miss activities
    • lcq_async_cache

      public static LayeredNetwork lcq_async_cache()
      Model for lcq_async_cache.m: the client makes an ASYNCHRONOUS call to the cache and continues without waiting for the reply, which is what a prefetch or a cache warm-up does. The cache still resolves the request through POST_CACHE hit/miss branching. Compare with lcq_singlehost, whose call is synchronous.
    • lcq_threehosts

      public static LayeredNetwork lcq_threehosts()
      Model for lcq_threehosts.ipynb - matches MATLAB lcq_threehosts.m This model includes a cache task with three hosts (processors)