001 package railo.runtime.type.scope; 002 003 import railo.runtime.config.ConfigServer; 004 import railo.runtime.exp.PageException; 005 006 public interface ClusterRemote { 007 008 /** 009 * broadcast data on stack and clear stack 010 */ 011 public void broadcastEntries(); 012 013 /** 014 * set entry on stack 015 * @param entry 016 */ 017 public void addEntry(ClusterEntry entry); 018 019 020 /** 021 * check if the value can distributed over the "cluster" 022 * @param value 023 * @throws PageException 024 */ 025 public boolean checkValue(Object value); 026 027 /** 028 * duplicate this object 029 * @return duplicated object 030 */ 031 public ClusterRemote duplicate(); 032 033 /** 034 * @param configServer 035 * @param cluster 036 */ 037 public void init(ConfigServer configServer,Cluster cluster); 038 039 }