Data Structures | Typedefs | Functions | Variables

MultiCache.cc File Reference

A brief file description. More...

#include "libts.h"
#include "I_Layout.h"
#include "P_HostDB.h"
#include "P_MultiCache.h"
#include "P_EventSystem.h"
#include "ink_file.h"
Include dependency graph for MultiCache.cc:

Go to the source code of this file.

Data Structures

struct  MultiCacheSync
struct  OffsetTable
struct  MultiCacheHeapGC

Typedefs

typedef int(MultiCacheSync::* MCacheSyncHandler )(int, void *)
typedef int(MultiCacheHeapGC::* MCacheHeapGCHandler )(int, void *)

Functions

int store_verify (Store *store)
static int bytes_to_blocks (int64_t b)
void stealStore (Store &s, int blocks)

Variables

static const int MC_SYNC_MIN_PAUSE_TIME = HRTIME_MSECONDS(200)

Detailed Description

A brief file description.

License

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file MultiCache.cc.


Typedef Documentation

typedef int(MultiCacheHeapGC::* MCacheHeapGCHandler)(int, void *)

Definition at line 1121 of file MultiCache.cc.

typedef int(MultiCacheSync::* MCacheSyncHandler)(int, void *)

Definition at line 999 of file MultiCache.cc.


Function Documentation

static int bytes_to_blocks ( int64_t  b  )  [inline, static]
void stealStore ( Store s,
int  blocks 
)
int store_verify ( Store store  )  [inline]

Definition at line 51 of file MultiCache.cc.

References Store::disk, and Store::n_disks.

Referenced by MultiCacheBase::open(), and MultiCacheBase::rebuild().


Variable Documentation

const int MC_SYNC_MIN_PAUSE_TIME = HRTIME_MSECONDS(200) [static]

Definition at line 38 of file MultiCache.cc.

Referenced by MultiCacheSync::mcEvent(), and MultiCacheHeapGC::startEvent().