protected void _set(DataStoreSource source, SetRequest request) {
    """
	/*
	THIS IS THE DELEGATE FOR SETTING DATA. For instance
	set(SetRequest request) and setSource(SetRequest request)
	will both call this method instead of processing the set themself,
	therefore providing a common and consistent way to handle the set - SFF
    """
        switch (source) {
            case MEMORY:
                _setMemory(request);
                break;
            case LOCAL_DB:
                _setLocal(request, true);
                break;
            case REMOTE_DB:
                _setRemote(request, true);
                break;
            case TRANSACTION_LOG:
                _setTransactionLog(request);
                break;
            case LOCAL_STORES:
                _setMemory(request);
                _setLocal(request, true);
                break;
            case ALL:
                _setTransactionLog(request);
                _setReplication(request);
                _setMemory(request);
                _setLocal(request, false);
                _setRemote(request, false);
                break;
            case REPLICATION:
                _setMemory(request);
                _setLocal(request, false);
                _setRemote(request, false);
                break;
            default:
                queueInvalidSource(request);
                logger.error("Master Data Store:: Unable to handle Set Source", request);
        }
    }
protected void _set(DataStoreSource source, SetRequest request) {
        switch (source) {
            case MEMORY:
                _setMemory(request);
                break;
            case LOCAL_DB:
                _setLocal(request, true);
                break;
            case REMOTE_DB:
                _setRemote(request, true);
                break;
            case TRANSACTION_LOG:
                _setTransactionLog(request);
                break;
            case LOCAL_STORES:
                _setMemory(request);
                _setLocal(request, true);
                break;
            case ALL:
                _setTransactionLog(request);
                _setReplication(request);
                _setMemory(request);
                _setLocal(request, false);
                _setRemote(request, false);
                break;
            case REPLICATION:
                _setMemory(request);
                _setLocal(request, false);
                _setRemote(request, false);
                break;
            default:
                queueInvalidSource(request);
                logger.error("Master Data Store:: Unable to handle Set Source", request);
        }
    }
protected void _set ( DataStoreSource source , SetRequest request ) { switch ( source ) { case MEMORY : _setMemory ( request ) ; break ; case LOCAL_DB : _setLocal ( request , true ) ; break ; case REMOTE_DB : _setRemote ( request , true ) ; break ; case TRANSACTION_LOG : _setTransactionLog ( request ) ; break ; case LOCAL_STORES : _setMemory ( request ) ; _setLocal ( request , true ) ; break ; case ALL : _setTransactionLog ( request ) ; _setReplication ( request ) ; _setMemory ( request ) ; _setLocal ( request , false ) ; _setRemote ( request , false ) ; break ; case REPLICATION : _setMemory ( request ) ; _setLocal ( request , false ) ; _setRemote ( request , false ) ; break ; default : queueInvalidSource ( request ) ; logger . error ( "Master Data Store:: Unable to handle Set Source" , request ) ; } }
/*
THIS IS THE DELEGATE FOR SETTING DATA. For instance
set(SetRequest request) and setSource(SetRequest request)
will both call this method instead of processing the set themself,
therefore providing a common and consistent way to handle the set - SFF
/ * THIS IS THE DELEGATE FOR SETTING DATA . For instance set ( SetRequest request ) and setSource ( SetRequest request ) will both call this method instead of processing the set themself therefore providing a common and consistent way to handle the set - SFF