org.jboss.cache.config
Class Option

java.lang.Object
  extended by org.jboss.cache.config.Option

public class Option
extends java.lang.Object

Used to override characteristics of specific calls to the cache.

Author:
Manik Surtani (manik@jboss.org)

Constructor Summary
Option()
           
 
Method Summary
 DataVersion getDataVersion()
           
 boolean isCacheModeLocal()
          only applies to put() and remove() methods on the cache.
 boolean isFailSilently()
           
 void setCacheModeLocal(boolean cacheModeLocal)
          only applies to put() and remove() methods on the cache.
 void setDataVersion(DataVersion dataVersion)
           
 void setFailSilently(boolean failSilently)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Option

public Option()
Method Detail

isFailSilently

public boolean isFailSilently()

setFailSilently

public void setFailSilently(boolean failSilently)

isCacheModeLocal

public boolean isCacheModeLocal()
only applies to put() and remove() methods on the cache.


setCacheModeLocal

public void setCacheModeLocal(boolean cacheModeLocal)
only applies to put() and remove() methods on the cache.

Parameters:
cacheModeLocal -

getDataVersion

public DataVersion getDataVersion()

setDataVersion

public void setDataVersion(DataVersion dataVersion)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 1998-2005 JBoss Inc . All Rights Reserved.