CMS 3D CMS Logo

Functions | Variables

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/Utilities/StorageFactory/src/LocalCacheFile.cc File Reference

#include "Utilities/StorageFactory/interface/LocalCacheFile.h"
#include "FWCore/Utilities/interface/EDMException.h"
#include <utility>
#include <iostream>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/mman.h>
#include <errno.h>
#include <sstream>

Go to the source code of this file.

Functions

static void nowrite (const char *why)

Variables

static const IOOffset CHUNK_SIZE = 128*1024*1024

Function Documentation

static void nowrite ( const char *  why) [static]

Definition at line 15 of file LocalCacheFile.cc.

References Exception.

Referenced by LocalCacheFile::flush(), LocalCacheFile::resize(), LocalCacheFile::write(), and LocalCacheFile::writev().

{
  throw cms::Exception("LocalCacheFile")
    << "Cannot change file but operation '" << why << "' was called";
}

Variable Documentation

const IOOffset CHUNK_SIZE = 128*1024*1024 [static]

Definition at line 12 of file LocalCacheFile.cc.

Referenced by LocalCacheFile::cache().