Conventions
In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "The following code is for the new Hello World program, which is now called HelloWorld2
:"
A block of code is set as follows:
package org.learningredis.chapter.two; public class Helloworld2 { JedisWrapper jedisWrapper = null; public Helloworld2() { jedisWrapper = new JedisWrapper(); } private void test() { jedisWrapper.set("MSG", "Hello world 2 "); String result = jedisWrapper.get("MSG"); System.out.println("MSG : " + result); } public static void main(String[] args) { Helloworld2 helloworld2 = new Helloworld2(); helloworld2.test(); } }
New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "Note the last line showing on the Command Prompt: The servers now ready to accept connections on port 6379."
Note
Warnings or important notes appear in a box like this.
Tip
Tips and tricks appear like this.