# All files / src/app/ceph/pool pool.ts

100% Statements 4/4
100% Branches 0/0
100% Functions 2/2
100% Lines 3/3

Press n or j to go to the next uncovered block, b, p or k for the previous block.

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76

    3x

    40x

    3x
     import { ExecutingTask } from '../../shared/models/executing-task';
    import { PoolStat } from './pool-stat';

    export class Pool {
      cache_target_full_ratio_micro: number;
      fast_read: boolean;
      stripe_width: number;
      flags_names: string;
      tier_of: number;
      hit_set_grade_decay_rate: number;
      use_gmt_hitset: boolean;
      last_force_op_resend_preluminous: string;
      quota_max_bytes: number;
      erasure_code_profile: string;
      expected_num_objects: number;
      size: number;
      snap_seq: number;
      auid: number;
      cache_min_flush_age: number;
      hit_set_period: number;
      min_read_recency_for_promote: number;
      target_max_objects: number;
      pg_num: number;
      type: string;
      pool_name: string;
      cache_min_evict_age: number;
      cache_mode: string;
      min_size: number;
      cache_target_dirty_high_ratio_micro: number;
      object_hash: number;
      application_metadata: string[];
      write_tier: number;
      cache_target_dirty_ratio_micro: number;
      pool: number;
      removed_snaps: string;
      cdExecuting?: string;
      executingTasks?: ExecutingTask[];
      crush_rule: string;
      tiers: any[];
      hit_set_params: {
        type: string;
      };
      last_force_op_resend: string;
      pool_snaps: any[];
      quota_max_objects: number;
      options: {
        compression_algorithm?: string;
        compression_max_blob_size?: number;
        compression_min_blob_size?: number;
        compression_mode?: string;
        compression_required_ratio?: number;
      };
      hit_set_count: number;
      flags: number;
      target_max_bytes: number;
      hit_set_search_last_n: number;
      last_change: string;
      min_write_recency_for_promote: number;
      read_tier: number;
      pg_status: string;
      stats?: {
        bytes_used?: PoolStat;
        max_avail?: PoolStat;
        rd_bytes?: PoolStat;
        wr_bytes?: PoolStat;
        rd?: PoolStat;
        wr?: PoolStat;
      };
      cdIsBinary?: boolean;
      configuration: { source: number; name: string; value: string }[];

      constructor(name) {
        this.pool_name = name;
      }
    }