Class Context.Snapshot

  • Enclosing class:
    Context

    public static final class Context.Snapshot
    extends java.lang.Object
    Immutable injector/client pair. Its lifetime ends on replacement or shutdown.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      net.runelite.api.Client client()  
      long getGeneration()  
      <T> T getService​(java.lang.Class<T> type)  
      boolean isActive()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • isActive

        public boolean isActive()
      • getGeneration

        public long getGeneration()
      • client

        public net.runelite.api.Client client()
      • getService

        public <T> T getService​(java.lang.Class<T> type)