com.caucho.server.cache
Class TempFileService

java.lang.Object
  extended by com.caucho.env.service.AbstractResinSubSystem
      extended by com.caucho.server.cache.TempFileService
All Implemented Interfaces:
ResinSubSystem

public class TempFileService
extends AbstractResinSubSystem

Represents an inode to a temporary file.


Field Summary
 
Fields inherited from interface com.caucho.env.service.ResinSubSystem
START_PRIORITY_CACHE_SERVICE, START_PRIORITY_CLASSLOADER, START_PRIORITY_CLUSTER_SERVICE, START_PRIORITY_DEFAULT, START_PRIORITY_ENV_SYSTEM, START_PRIORITY_NETWORK_CLUSTER
 
Constructor Summary
TempFileService(TempFileManager manager)
           
 
Method Summary
static TempFileService createAndAddService()
           
static TempFileService createAndAddService(TempFileManager manager)
           
static TempFileService getCurrent()
           
 TempFileManager getManager()
           
 void stop()
          Stops the service.
 
Methods inherited from class com.caucho.env.service.AbstractResinSubSystem
destroy, getStartPriority, getStopPriority, preCreate, start, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TempFileService

public TempFileService(TempFileManager manager)
Method Detail

createAndAddService

public static TempFileService createAndAddService()

createAndAddService

public static TempFileService createAndAddService(TempFileManager manager)

getCurrent

public static TempFileService getCurrent()

getManager

public TempFileManager getManager()

stop

public void stop()
          throws java.lang.Exception
Description copied from interface: ResinSubSystem
Stops the service.

Specified by:
stop in interface ResinSubSystem
Overrides:
stop in class AbstractResinSubSystem
Throws:
java.lang.Exception