32
|
1 package jp.ac.u_ryukyu.ie.cr.shoshi.jungle.persistent;
|
|
2
|
55
|
3 import java.nio.ByteBuffer;
|
32
|
4
|
56
|
5 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.Command;
|
|
6 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.operations.NodeOperation;
|
|
7 import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.operations.TreeOperation;
|
|
8
|
55
|
9 public class DefaultChangeListWriter implements ChangeListWriter
|
|
10 {
|
|
11 public DefaultChangeListWriter(ByteBuffer _buf)
|
|
12 {
|
|
13
|
|
14 }
|
|
15
|
|
16 @Override
|
56
|
17 public synchronized Result write(ChangeList _operations)
|
55
|
18 {
|
56
|
19 for(TreeOperation op : _operations){
|
|
20 ByteBuffer treeOpBuf = serializeTreeOperation(op);
|
|
21 }
|
|
22 return null;
|
|
23 }
|
|
24
|
|
25 private ByteBuffer serializeTreeOperation(TreeOperation op)
|
|
26 {
|
|
27
|
55
|
28 return null;
|
|
29 }
|
32
|
30 }
|