Class BufferCacheService

java.lang.Object
org.wildfly.extension.undertow.BufferCacheService
All Implemented Interfaces:
org.jboss.msc.Service, org.jboss.msc.service.Service<io.undertow.server.handlers.cache.DirectBufferCache>, org.jboss.msc.value.Value<io.undertow.server.handlers.cache.DirectBufferCache>

public class BufferCacheService extends Object implements org.jboss.msc.service.Service<io.undertow.server.handlers.cache.DirectBufferCache>
Author:
Stuart Douglas
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.jboss.msc.service.ServiceName
     

    Fields inherited from interface org.jboss.msc.service.Service

    NULL
  • Constructor Summary

    Constructors
    Constructor
    Description
    BufferCacheService(int bufferSize, int buffersPerRegion, int maxRegions)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.undertow.server.handlers.cache.DirectBufferCache
     
    void
    start(org.jboss.msc.service.StartContext startContext)
     
    void
    stop(org.jboss.msc.service.StopContext stopContext)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • SERVICE_NAME

      public static final org.jboss.msc.service.ServiceName SERVICE_NAME
  • Constructor Details

    • BufferCacheService

      public BufferCacheService(int bufferSize, int buffersPerRegion, int maxRegions)
  • Method Details

    • start

      public void start(org.jboss.msc.service.StartContext startContext) throws org.jboss.msc.service.StartException
      Specified by:
      start in interface org.jboss.msc.Service
      Throws:
      org.jboss.msc.service.StartException
    • stop

      public void stop(org.jboss.msc.service.StopContext stopContext)
      Specified by:
      stop in interface org.jboss.msc.Service
    • getValue

      public io.undertow.server.handlers.cache.DirectBufferCache getValue() throws IllegalStateException, IllegalArgumentException
      Specified by:
      getValue in interface org.jboss.msc.value.Value<io.undertow.server.handlers.cache.DirectBufferCache>
      Throws:
      IllegalStateException
      IllegalArgumentException