Ignore:
Timestamp:
09/10/13 21:11:41 (11 years ago)
Author:
psniegowski
Message:

HIGHLIGHTS:

  • import refactorization: move Tree, Path, etc.

from core to structure package

  • initial serialization implementation
  • improve PrimeExperiment? test
  • many organizational changes and convenience improvements

CHANGELOG:
Make registry in AbstractTree? final.

Move most classes from core to structure package.

Minor changes.

Switch names of Future and FutureHandler?.

Rename ExceptionResultHandler? to ExceptionHandler?.

Rename ExceptionHandler? to ExceptionDispatcherHandler?.

Fix bug in ParamCandidate? cache.

Add missing synchronization to the BufferedDispatcher?.

Develop @Serialized support.

Rework serialization further.

Add serialization/deserialization interface to ValueParam?.

Move getStorageType and isNumeric from Param down to params hierarchy.

Minor changes.

Improve param type induction.

Add TestSerializedClass? for testing new serialization.

Add info files gor GenePool? and Population.

Add standard.expt exemplary netfile.

Add type name field to PropertiesObject?.

Use PropertiesObject? for PropertiesAccess? instead of ordinary map.

Hide getFramsClass is several more places.

More unification accross FramsClass?, Access and Path.

Add ParamCollection?.

Simplify interface for getting params from FramsClass?, Access
or Path.

Make Access.call() interface variadic.

Add arguments(args) convenience wrapper around new Object[] {args}.

Upgrade to apache.commons.lang version 3.1

Minor improvement with Response constructors.

Develop proper result printing in ClientAtServer?.

Add experimentNetsave to PrimeExperiment?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • java/main/src/main/java/com/framsticks/dumping/SaveStream.java

    r102 r105  
    11package com.framsticks.dumping;
    22
    3 import static com.framsticks.core.TreeOperations.*;
    43import static com.framsticks.params.AccessOperations.*;
    5 import com.framsticks.core.Node;
    6 import com.framsticks.core.Path;
    74import com.framsticks.params.Access;
    85import com.framsticks.params.CompositeParam;
     
    118import com.framsticks.params.Sink;
    129import com.framsticks.parsers.Savers;
    13 import com.framsticks.core.Tree;
     10import com.framsticks.structure.Node;
     11import com.framsticks.structure.Path;
     12import com.framsticks.structure.Tree;
    1413import com.framsticks.util.*;
    1514import com.framsticks.util.dispatching.Dispatching;
    16 import com.framsticks.util.dispatching.Future;
     15import com.framsticks.util.dispatching.FutureHandler;
    1716
    1817import org.apache.logging.log4j.Logger;
     
    2221import java.util.HashSet;
    2322import java.util.Set;
     23
     24import static com.framsticks.structure.TreeOperations.*;
    2425import static com.framsticks.util.lang.Containers.filterInstanceof;
    2526
     
    3334        protected final Sink sink;
    3435        protected final Tree tree;
    35         protected final Future<Void> future;
     36        protected final FutureHandler<Void> future;
    3637        protected final Stopwatch stopwatch = new Stopwatch();
    3738        protected final Set<FramsClass> storedInfo = new HashSet<FramsClass>();
     
    3940        private int dispatched = 0;
    4041
    41         public SaveStream(Sink sink, Tree tree, Path root, Future<Void> future) {
     42        public SaveStream(Sink sink, Tree tree, Path root, FutureHandler<Void> future) {
    4243                assert Dispatching.isThreadSafe();
    4344                this.sink = sink;
Note: See TracChangeset for help on using the changeset viewer.