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/util/dispatching/Dispatching.java

    r102 r105  
    77import org.apache.logging.log4j.LogManager;
    88
     9import com.framsticks.util.ExceptionHandler;
    910import com.framsticks.util.FramsticksException;
    1011import com.framsticks.util.Misc;
     
    141142        }
    142143
    143         public interface Query<T> extends ExceptionResultHandler {
     144        public interface Query<T> extends ExceptionHandler {
    144145                T get();
    145146        }
    146147
    147148        public static abstract class QueryHandler<T> implements Query<T> {
    148                 ExceptionResultHandler handler;
     149                ExceptionHandler handler;
    149150
    150151                /**
    151152                 * @param handler
    152153                 */
    153                 public QueryHandler(ExceptionResultHandler handler) {
     154                public QueryHandler(ExceptionHandler handler) {
    154155                        this.handler = handler;
    155156                }
     
    244245
    245246                protected final double timeOut;
    246                 protected final ExceptionResultHandler handler;
     247                protected final ExceptionHandler handler;
    247248
    248249                /**
    249250                 * @param timeOut
    250251                 */
    251                 public Waiter(double timeOut, ExceptionResultHandler handler) {
     252                public Waiter(double timeOut, ExceptionHandler handler) {
    252253                        this.timeOut = timeOut;
    253254                        this.handler = handler;
     
    273274                }
    274275
    275                 public <T> Future<T> passInFuture(Class<T> type) {
    276                         return new FutureHandler<T>(handler) {
     276                public <T> FutureHandler<T> passInFuture(Class<T> type) {
     277                        return new Future<T>(handler) {
    277278                                @Override
    278279                                protected void result(T result) {
Note: See TracChangeset for help on using the changeset viewer.