Class FS4ResourcePool

  • All Implemented Interfaces:
    com.yahoo.component.Component, java.lang.Comparable<com.yahoo.component.Component>

    public class FS4ResourcePool
    extends com.yahoo.component.AbstractComponent
    All users will get the same pool instance.
    Author:
    baldersheim
    • Field Summary

      • Fields inherited from class com.yahoo.component.AbstractComponent

        isDeconstructable
    • Constructor Summary

      Constructors 
      Constructor Description
      FS4ResourcePool​(com.yahoo.container.QrConfig config)  
      FS4ResourcePool​(java.lang.String serverId)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void deconstruct()  
      java.util.concurrent.ExecutorService getExecutor()  
      java.util.concurrent.ScheduledExecutorService getScheduledExecutor()  
      java.lang.String getServerId()
      Returns an unique identifier of the server this runs in
      • Methods inherited from class com.yahoo.component.AbstractComponent

        clone, compareTo, getClassName, getId, getIdString, hasInitializedId, initId, isDeconstructable, setIsDeconstructable, toString
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • FS4ResourcePool

        @Inject
        public FS4ResourcePool​(com.yahoo.container.QrConfig config)
      • FS4ResourcePool

        public FS4ResourcePool​(java.lang.String serverId)
    • Method Detail

      • getServerId

        public java.lang.String getServerId()
        Returns an unique identifier of the server this runs in
      • getExecutor

        public java.util.concurrent.ExecutorService getExecutor()
      • getScheduledExecutor

        public java.util.concurrent.ScheduledExecutorService getScheduledExecutor()
      • deconstruct

        public void deconstruct()
        Overrides:
        deconstruct in class com.yahoo.component.AbstractComponent