In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text are shown as follows: "Instead of using SingleVMPoolUtil
, we will need to use the MultiVMPoolUtil
class to store and retrieve objects from the cache."
A block of code is set as follows:
/arrows/01_down.png=0,16,16 /arrows/01_left.png=16,16,16 /arrows/01_right.png=32,16,16 /arrows/01_up.png=48,16,16
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
package com.connectsam.development;
import com.liferay.portal.kernel.cache.SingleVMPoolUtil;
import java.util.ArrayList;
import java.util.List;
public class SingleVMPoolExample {
public List<String> getTestList(String key){
List<String> listOfStrings = null;
New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "In JConsole, navigate to the MBeans tab and then expand net.sf.ehcache | CacheStatistics | liferay-multi-vm-clustered."
3.15.3.167