Package gov.nasa.arc.mct.buffer.config

Examples of gov.nasa.arc.mct.buffer.config.DiskBufferEnv


   
    public static DataBuffer getNonCODDiskDataBuffer(Properties prop) {
        if (!nonCODDiskBufferInitializeToken.get()) {
            synchronized(DataBufferFactory.class) {
                if (nonCODDiskDataBuffer == null) {
                    nonCODDiskDataBuffer = new NonCODataBuffer(new DiskBufferEnv(prop), nonCODDiskBufferHelper);
                }
            }
            nonCODDiskBufferInitializeToken.compareAndSet(false, true);
        }
        return nonCODDiskDataBuffer;
View Full Code Here


    }
   
    @Override
    public MetaDataBuffer newMetaDataBuffer(DataBufferEnv env) {
        if (env == null) {
            return new MetaDiskBuffer(new DiskBufferEnv(null));
        }
        assert env instanceof DiskBufferEnv;
        return new MetaDiskBuffer((DiskBufferEnv)env);
    }
View Full Code Here

        return new MetaDiskBuffer((DiskBufferEnv)env);
    }
   
    @Override
    public DataBufferEnv newMetaDataBufferEnv(Properties prop) {
        return new DiskBufferEnv(prop);
    }
View Full Code Here

            tf);

    private volatile boolean active;

    public PartitionNonCODDiskBuffer(int partitionNumber) {
        this(new DiskBufferEnv(null, partitionNumber));
    }
View Full Code Here

TOP

Related Classes of gov.nasa.arc.mct.buffer.config.DiskBufferEnv

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.