/*
 * Licensed to the University of California, Berkeley 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.
 */

package tachyon.client;

/**
 * Specifies the type of data interaction with Tachyon. For a write operation, this determines
 * whether the data will be written into Tachyon storage. Metadata will always be updated in Tachyon
 * space. For a read operation, this determines whether fully read blocks will be stored in Tachyon
 * storage.
 */
public enum TachyonStorageType {
  /** Write to Tachyon */
  STORE(1),

  /** Do not write to Tachyon */
  NO_STORE(2);

  private final int mValue;

  TachyonStorageType(int value) {
    mValue = value;
  }

  public boolean shouldStore() {
    return mValue == STORE.mValue;
  }
}

@@ -870,17 +870,32 @@
 Tachyon.
- 
+%0A * %3Cul%3E%0A * %3Cli%3E
 For a wr
@@ -924,19 +924,16 @@
 termines
-%0A *
  whether
@@ -979,16 +979,19 @@
 storage.
+%0A *
  Metadat
@@ -1029,19 +1029,28 @@
 hyon
-%0A *
  space.
- 
+%3C/li%3E%0A * %3Cli%3E
 For 
@@ -1146,16 +1146,30 @@
 storage.
+%3C/li%3E%0A * %3C/ul%3E
 %0A */%0Apub
@@ -1208,24 +1208,58 @@
 /** 
-Write to Tachyon
+Put the data reading or writing in Tachyon storage
  */%0A
@@ -1284,21 +1284,24 @@
  Do not 
-write
+put data
  to Tach

Update docs in TachyonStorageType.java