Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.slide.common
Class CacheInfoToken  view CacheInfoToken download CacheInfoToken.java

java.lang.Object
  extended byorg.apache.slide.common.CacheInfoToken

public final class CacheInfoToken
extends java.lang.Object

Caching strategy token class.


Field Summary
private  boolean flushOnCommandDone
          If true, the cache is used during a PROPFIND and then flushed.
private  int searchDepth
          Browsing depth.
private  java.lang.String strategy
          Strategy.
 
Constructor Summary
CacheInfoToken()
          Constructor.
CacheInfoToken(java.lang.String strategy)
          Constructor.
 
Method Summary
 int getSearchDepth()
          Returns the searchDepth.
 java.lang.String getStrategy()
          Returns the strategy.
 boolean isFlushOnCommandDone()
          Returns the searchDepth.
 void setFlushOnCommandDone(boolean flushOnCommandDone)
          set the flushOnCommandDone
 void setSearchDepth(int searchDepth)
          set the searchDepth
 void setStrategy(java.lang.String strategy)
          set the strategy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

strategy

private java.lang.String strategy
Strategy.


searchDepth

private int searchDepth
Browsing depth. For example, it can be used to represent the depth of a PROPFIND.


flushOnCommandDone

private boolean flushOnCommandDone
If true, the cache is used during a PROPFIND and then flushed. This enables the use of a cache to speed up PROPFIND searches without the need for tagging URIs clean or dirty.

Constructor Detail

CacheInfoToken

public CacheInfoToken(java.lang.String strategy)
Constructor.


CacheInfoToken

public CacheInfoToken()
Constructor.

Method Detail

getStrategy

public java.lang.String getStrategy()
Returns the strategy.


setStrategy

public void setStrategy(java.lang.String strategy)
set the strategy


getSearchDepth

public int getSearchDepth()
Returns the searchDepth.


setSearchDepth

public void setSearchDepth(int searchDepth)
set the searchDepth


isFlushOnCommandDone

public boolean isFlushOnCommandDone()
Returns the searchDepth.


setFlushOnCommandDone

public void setFlushOnCommandDone(boolean flushOnCommandDone)
set the flushOnCommandDone