forked from hazelcast/hazelcast-code-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.html
executable file
·131 lines (99 loc) · 7.61 KB
/
readme.html
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Hazelcast Code Samples Readme</title>
<link rel="shortcut icon" href="data:image/vnd.microsoft.icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAADu7en/e3NX/15UM/9eVDP/XlQz/15UM/+uqZj//////7+7rv9eVDP/XlQz/15UM/9eVDP/XlQz/15UM/+AeF7/jIZu/zYqAP82KgD/NioA/zYqAP82KgD/mZN+//////+vqpr/NioA/zYqAP82KgD/NioA/zYqAP82KgD/YFc2/3x0Wf82KgD/NioA/zYqAP82KgD/NioA/5mTfv//////r6qa/zYqAP82KgD/NioA/zYqAP82KgD/NioA/2BXNv98dFn/NioA/zYqAP82KgD/NioA/zYqAP+Zk37//////6+qmv82KgD/NioA/zYqAP82KgD/NioA/zYqAP9gVzb/fHRZ/zYqAP82KgD/NioA/zYqAP82KgD/mZN+//////+vqpr/NioA/zYqAP82KgD/NioA/zYqAP82KgD/YFc2/3x0Wf82KgD/NioA/zYqAP82KgD/NioA/5mTfv//////tLCh/zYqAP82KgD/NioA/zYqAP82KgD/NioA/2VcPP98dFn/NioA/zYqAP82KgD/NioA/zYqAP+Zk37///////Hw7f9dUzH/NioA/zYqAP82KgD/NioA/0A0DP/AvK//fHRZ/zYqAP82KgD/NioA/zYqAP82KgD/mZN+/////////////v7+//Lx7//x8O3/8fDt//Hw7f/5+fj//////3x0Wf82KgD/NioA/zYqAP82KgD/NioA/5mTfv//////8/b//+Hp///h6f//4en//+Hp///h6f//4en//+ft//98dFn/NioA/zYqAP82KgD/NioA/zYqAP+Zk37//////5q1//8ARv//AEb//wBG//8ARv//AEb//wBG//82bf//fHRZ/zYqAP82KgD/NioA/zYqAP82KgD/mZN+//////+atf//AEb//wBG//8ARv//AEb//wBG//8ARv//Nm3//3x0Wf82KgD/NioA/zYqAP82KgD/NioA/5mTfv//////mrX//wBG//8ARv//AEb//wBG//8ARv//AEb//zZt//98dFn/NioA/zYqAP82KgD/NioA/zYqAP+Zk37//////5q1//8ARv//AEb//wBG//8ARv//AEb//wBG//82bf//fHRZ/zYqAP82KgD/NioA/zYqAP82KgD/mZN+//////+atf//AEb//wBG//8ARv//AEb//wBG//8ARv//Nm3//5CJcv82KgD/NioA/zYqAP82KgD/NioA/5mTfv//////mrX//wBG//8ARv//AEb//wBG//8ARv//AEb//01+///x8O7/hX5k/2hfQP9oX0D/aF9A/2hfQP+zrp///////7PI//9AdP//QHT//0B0//9AdP//QHT//1eF///e5///AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==">
<link rel="stylesheet" id="open-sans-css" href="//fonts.googleapis.com/css?family=Open+Sans%3A300italic%2C400italic%2C600italic%2C300%2C400%2C600&subset=latin%2Clatin-ext&ver=3.9.1" type="text/css" media="all" data-inprogress="">
<style>
body {
font-family: 'Open Sans', sans-serif;
color: #666;
border-top: 6px solid #ff5f00;
width: 100%;
background: #f8f8f8;
margin: 0;
padding: 0;
}
.content {
width: 800px;
background: #fff;
margin: 40px auto;
border: 1px solid #ccc;
padding: 30px 40px;
}
.logo {
width: 45px;
display: block;
margin: 0 auto;
}
h1 {
font-size: 40px;
font-weight: 300;
margin-top: 10px;
text-align: center;
}
h2 {
margin-top: 30px;
margin-bottom: 5px;
font-size: 20px;
}
h2 + p, h2 + ul {
margin-top: 5px;
}
a {
color: #ff5f00;
text-decoration: none;
font-weight: bold;
}
ul > li {
margin-bottom: 10px;
}
ul.included {
list-style-type: none;
padding-left: 0px;
}
ul.included ul {
margin-bottom: 12px;
padding-left: 35px;
list-style-type: disc;
}
ul.included ul li {
margin-bottom: 3px;
}
h2:target {
border-left: 5px solid #6ce26c;
padding-left: 35px;
margin-left: -40px;
}
</style>
</head>
<body>
<div class="content">
<img class="logo" alt="Hazelcast Logo" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABpCAYAAADMfIaKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAnBJREFUeNrs3TFSwkAUxvElQ0fDDYwtFRb2eAO9gMIJ0BOgJ0BPEPQE3sD0FqayBW9AY+v4Fp9OhgHBwuTt5v/N7IQijLv7Y7PBmTxabo90esepHHwbuOoze399XvzlDR/nq37W0ddt8f0vkgdX7DqxvQNiKIextH6Ng8l1QH+Jx5g4Y5EPih/HvbRbwVluOifZAtGXNpeXWc0YsSXVD8pccC73AtFV8aJvJv+TrrSpoGS/gihGxnxVluE6SrK2cU+Zo1pQTjetkEyXEqk+maB0f0D8Jm7sNrGJe8qwvELGzEntuSiDsDrqT99ftpLS/TExgJIwB7YCCCAEEEAIIIAQQAAhgABCACGAAEIAAYQAAggBBBACCAEEEAIIIAQQQAgggBBACCCAEEAAIYDEm3ak48oD7fciSpDkYQUSJAqXLEAIIIAQQAAhgABCAAGEWEq7iYPu9I4H7qto24GrplaYr2j9Ju1xV5XudsMgrt1XKb204j890ONU+pDL8UZg8saCaJFPK1W6V6tT+vQox5HALBu1hyjGk7NXMt3X6n2S/nUbA1LCsFqP+Lt/jVkhIRSH7uveFjeI1rEP5ZcdJlrqPeoVMgmsv+NoQXTvSAPr9mnMK2QQYJ9Tf9mKFSTUX3lI+V+WsQACCAEEEAIIIAQQQAgggBBACCCAEEAAIYAAQgABhABCAAGEAAIIAaQRIAVTYQskZypsgdwxFYZA9NnpGdNha1O/krZgSoyA6PPSZ9KWTIuR215B8XdbJ6AY+h6iKIfsKYa+GPrLl7SRvDxSGPaWitLa90QtAVHHc9/Fej2QPfqauvCewl2N9VOAAQDt+HTADrWVDQAAAABJRU5ErkJggg==" />
<h1>Hazelcast Code Samples Readme</h1>
<p>The folder <strong>/code-samples</strong> in your package contains an extensive collection of code samples which you can use to learn how to use Hazelcast features. From distributed primitives to Service Provider Interface (SPI), you can see Hazelcast in action readily. It includes the following folders:</p>
<ul class="included">
<li><strong>/clients</strong> — Includes sample code that shows how to create a Hazelcast client, put a message on a queue by this client and receive that message by a Hazelcast node.</li>
<li><strong>/demo</strong> — You can start multiple nodes and operate usual map operations using the code samples here.</li>
<li><strong>/distributed-collections</strong> — Includes Distributed Queue, Set and List code samples.</li>
<li><strong>/distributed-executor</strong> — You can create a task and execute it in a node, in multiple nodes or in the whole cluster using the code samples here.</li>
<li><strong>/distributed-map</strong> — An extensive code samples folder that includes many features of the Hazelcast distributed map in action.</li>
<li><strong>/distributed-primitives</strong> — Includes Distributed AtomicLong, AtomicReference, CountDownLatch, IdGenerator and Lock code samples.</li>
<li><strong>/distributed-topic</strong> — Code samples to see publish/subscriber messaging model.</li>
<li><strong>/enterprise</strong> — Includes socket and security interceptor code samples.</li>
<li><strong>/hazelcast-integration</strong> — Code samples to show how you can integrate Hazelcast with Hibernate 2nd Level Cache and Spring. It also includes code samples for web session replication and resource adapter implementation.</li>
<li><strong>/jcache</strong> — An extensive code samples folder for operations including creating a cache and writing entries to it, creating listeners and clients.</li>
<li><strong>/learning-basics</strong> — Code samples to show some Hazelcast basics like creating, configuring and destroying Hazelcast instances, and Hazelcast configuration.</li>
<li><strong>/mapreduce</strong> — Includes tutorials and a sample word count application.</li>
<li><strong>/monitoring</strong> — Includes code samples that show how to check if a Hazelcast cluster is safe to be shutdown.</li>
<li><strong>/network-configuration</strong> — Shows what options Hazelcast configuration has regarding to network (e.g. partition grouping, multicast, ports, outbound ports, etc.)</li>
<li><strong>/performance</strong> — Includes code samples that show how Hazelcast uses data affinity.</li>
<li><strong>/replicated-map</strong> — Code samples to show how to get a replicated map and create an entry listener.</li>
<li><strong>/serialization</strong> — Includes code samples that implement various serialization interfaces like DataSerializable, IdentifiedDataSerializable, Externalizable and Portable. It also has code samples to show how to plug a custom serializer using StreamSerializer and ByteArraySerializer interfaces.</li>
<li><strong>/spi</strong> — Includes code samples that create a simple counter application using Hazelcast’s Service Provider Interface (SPI).</li>
<li><strong>/transactions</strong> — Code samples showing how to use the TransactionalMap and TransactionalTask interfaces.</li>
</ul>
</div>
</body>
</html>