Starting from taylor's example with one small change (pointed out). Should this
work out of the box and just use serialization? I think that's the question he
was raising?
-----
MyClass.java:
import java.util.concurrent.BlockingQueue;
import org.terracotta.express.Terracotta;
public class MyClass implements Serializable { <--- implements serializable
public static void main(String[] args) {
BlockingQueue<MyClass> queue = Terracotta.getBlockingQueue("myqueue");
queue.offer(myClass);
myClass = queue.take();
}
}
----
_______________________________________________
tc-dev mailing list
tc-dev@lists.terracotta.org
http://lists.terracotta.org/mailman/listinfo/tc-dev