org.jboss.cache
Interface Replicatable

All Known Implementing Classes:
ReplicationInterceptor

public interface Replicatable

Defines an entity able to receive replications

Version:
$Id: Replicatable.java,v 1.1.1.1 2005/03/31 10:15:00 belaban Exp $
Author:
Bela Ban

Method Summary
 void replicate(java.util.List method_calls)
          Receives and applies a number of method calls
 java.lang.Object replicate(org.jgroups.blocks.MethodCall method_call)
          Receives and applies a method call as result of replication
 

Method Detail

replicate

public java.lang.Object replicate(org.jgroups.blocks.MethodCall method_call)
                           throws java.lang.Throwable
Receives and applies a method call as result of replication

Parameters:
method_call -
Returns:
Throws:
java.lang.Throwable

replicate

public void replicate(java.util.List method_calls)
               throws java.lang.Throwable
Receives and applies a number of method calls

Parameters:
method_calls -
Throws:
java.lang.Throwable


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