private void _doSetCluster() throws PageException {
Struct entries = Caster.toStruct(getObject("admin",action,"entries"));
Struct entry;
Iterator<Object> it = entries.valueIterator();
Cluster cluster = pageContext.clusterScope();
while(it.hasNext()) {
entry=Caster.toStruct(it.next());
cluster.setEntry(
new ClusterEntryImpl(
KeyImpl.getInstance(Caster.toString(entry.get(KeyConstants._key))),
Caster.toSerializable(entry.get(KeyConstants._value,null),null),
Caster.toLongValue(entry.get(KeyConstants._time))
)
);
}
cluster.broadcast();
}