CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
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 edm::hlt::Exception.

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

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

Variable Documentation

const IOOffset CHUNK_SIZE = 128*1024*1024
static

Definition at line 12 of file LocalCacheFile.cc.

Referenced by LocalCacheFile::cache().