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/BufferedDispatcher.java

    r102 r105  
    9292
    9393        public void createThreadIfNeeded() {
    94                 if (targetDispatcher != null) {
    95                         return;
     94                synchronized (this) {
     95                        if (targetDispatcher != null) {
     96                                return;
     97                        }
    9698                }
    9799                this.setTargetDispatcher(new Thread<C>().setName(parent.getName()));
     
    104106
    105107        @Override
    106         protected void joinableStart() {
     108        protected synchronized void joinableStart() {
    107109                Dispatching.use(targetDispatcher, this);
    108110        }
    109111
    110112        @Override
    111         protected void joinableInterrupt() {
     113        protected synchronized void joinableInterrupt() {
    112114                Dispatching.drop(targetDispatcher, this);
    113115
     
    121123
    122124        @Override
    123         protected void joinableJoin() throws InterruptedException {
     125        protected synchronized void joinableJoin() throws InterruptedException {
    124126                Dispatching.join(targetDispatcher);
    125127        }
Note: See TracChangeset for help on using the changeset viewer.