- Timestamp:
- 07/04/13 20:29:50 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
java/main/src/main/java/com/framsticks/dumping/SaveStream.java
r90 r96 1 1 package com.framsticks.dumping; 2 2 3 import static com.framsticks.core.InstanceUtils.*; 3 4 import com.framsticks.core.Node; 4 5 import com.framsticks.core.Path; … … 22 23 * @author Piotr Sniegowski 23 24 */ 24 public class SaveStream {25 public class SaveStream extends Stream { 25 26 26 27 private final static Logger log = Logger.getLogger(SaveStream.class.getName()); … … 55 56 assert instance.isActive(); 56 57 log.info("stored in " + stopwatch); 57 stateFunctor.call( null);58 stateFunctor.call(); 58 59 } 59 60 … … 63 64 log.debug("path " + path + " is not resolved - skipping"); 64 65 } else { 65 AccessInterface access = instance.bindAccess(path);66 AccessInterface access = bindAccess(path); 66 67 assert access != null; 67 68 FramsClass framsClass = access.getFramsClass(); … … 85 86 for (CompositeParam p : filterInstanceof(access.getParams(), CompositeParam.class)) { 86 87 final Path childPath = path.appendNode(new Node(p, access.get(p, Object.class))); 87 if (childPath.isResolved() && instance.getInfoFromCache(childPath) != null) {88 if (childPath.isResolved() && getInfoFromCache(childPath) != null) { 88 89 dispatchWrite(childPath); 89 90 }
Note: See TracChangeset
for help on using the changeset viewer.