站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 Cache API Documentation 英文版文档

CreateIfNotExistsInterceptor (JBoss Cache API) - JBoss 3.2.7 Cache API Documentation 英文版文档


org.jboss.cache.interceptors
Class CreateIfNotExistsInterceptor

java.lang.Object
  extended byorg.jboss.cache.interceptors.Interceptor
      extended byorg.jboss.cache.interceptors.CreateIfNotExistsInterceptor

public class CreateIfNotExistsInterceptor
extends Interceptor

Handles putXXX() methods: if the given node doesn't exist, it will be created (depending on the create_if_not_exists argument)

Version:
$Id: CreateIfNotExistsInterceptor.java,v 1.5.2.1 2004/12/30 17:08:24 starksm Exp $
Author:
Bela Ban

Constructor Summary
CreateIfNotExistsInterceptor()
           
 
Method Summary
 Object invoke(org.jgroups.blocks.MethodCall m)
           
 void setCache(TreeCache cache)
           
 
Methods inherited from class org.jboss.cache.interceptors.Interceptor
getNext, setNext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateIfNotExistsInterceptor

public CreateIfNotExistsInterceptor()
Method Detail

setCache

public void setCache(TreeCache cache)
Overrides:
setCache in class Interceptor

invoke

public Object invoke(org.jgroups.blocks.MethodCall m)
              throws Throwable
Overrides:
invoke in class Interceptor
Throws:
Throwable


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.