-
Notifications
You must be signed in to change notification settings - Fork 683
/
CliStrings.java
3297 lines (3099 loc) · 234 KB
/
CliStrings.java
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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*
* Licensed to the Apache Software Foundation (ASF) 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 org.apache.geode.management.internal.i18n;
import static org.apache.geode.distributed.ConfigurationProperties.ARCHIVE_DISK_SPACE_LIMIT;
import static org.apache.geode.distributed.ConfigurationProperties.ARCHIVE_FILE_SIZE_LIMIT;
import static org.apache.geode.distributed.ConfigurationProperties.CACHE_XML_FILE;
import static org.apache.geode.distributed.ConfigurationProperties.DURABLE_CLIENT_ID;
import static org.apache.geode.distributed.ConfigurationProperties.ENABLE_CLUSTER_CONFIGURATION;
import static org.apache.geode.distributed.ConfigurationProperties.ENABLE_TIME_STATISTICS;
import static org.apache.geode.distributed.ConfigurationProperties.JMX_MANAGER;
import static org.apache.geode.distributed.ConfigurationProperties.LOCATORS;
import static org.apache.geode.distributed.ConfigurationProperties.LOG_DISK_SPACE_LIMIT;
import static org.apache.geode.distributed.ConfigurationProperties.LOG_FILE_SIZE_LIMIT;
import static org.apache.geode.distributed.ConfigurationProperties.LOG_LEVEL;
import static org.apache.geode.distributed.ConfigurationProperties.MCAST_ADDRESS;
import static org.apache.geode.distributed.ConfigurationProperties.MCAST_PORT;
import static org.apache.geode.distributed.ConfigurationProperties.MEMCACHED_BIND_ADDRESS;
import static org.apache.geode.distributed.ConfigurationProperties.MEMCACHED_PORT;
import static org.apache.geode.distributed.ConfigurationProperties.MEMCACHED_PROTOCOL;
import static org.apache.geode.distributed.ConfigurationProperties.SERVER_BIND_ADDRESS;
import static org.apache.geode.distributed.ConfigurationProperties.SOCKET_BUFFER_SIZE;
import static org.apache.geode.distributed.ConfigurationProperties.STATISTIC_ARCHIVE_FILE;
import static org.apache.geode.distributed.ConfigurationProperties.STATISTIC_SAMPLE_RATE;
import static org.apache.geode.distributed.ConfigurationProperties.USE_CLUSTER_CONFIGURATION;
import java.text.MessageFormat;
import org.apache.geode.cache.PartitionAttributesFactory;
import org.apache.geode.cache.server.CacheServer;
import org.apache.geode.distributed.ConfigurationProperties;
import org.apache.geode.distributed.internal.DistributionConfig;
import org.apache.geode.distributed.internal.InternalConfigurationPersistenceService;
import org.apache.geode.internal.cache.xmlcache.CacheXml;
/**
* - * Contains 'String' constants used as key to the Localized strings to be used in classes under
* <code>org.apache.geode.management.internal.cli</code> for Command Line Interface (CLI). NOTES: 1.
* CONVENTIONS: Defining constants for Command Name, option, argument, help: 1.1 Command Name:
* Command name in BOLD. Multiple words separated by single underscore ('_') E.g. COMPACT_DISK_STORE
* 1.2 Command Help Text: Command name in BOLD followed by double underscore ('__') followed by HELP
* in BOLD. E.g.COMPACT_DISK_STORE__HELP 1.3 Command Option: Command name in BOLD followed by double
* underscore ('__') followed by option name in BOLD - multiple words concatenated by removing
* space. E.g. for option "--disk-dirs" - COMPACT_DISK_STORE__DISKDIRS 1.4 Command Option Help: As
* mentioned in 1.3, followed by double underscore ('__') followed by HELP in BOLD. E.g.
* COMPACT_DISK_STORE__DISKDIRS__HELP 1.5 Info/Error Message used in a command: Command name in BOLD
* followed by double underscore ('__') followed by MSG in BOLD followed by brief name for the
* message (Similar to used in LocalizedStrings). E.g.
* COMPACT_DISK_STORE__MSG__ERROR_WHILE_COMPACTING = "Error occurred while compacting disk store."
* 1.6 Parameterized messages are supposed to be handled by users. It's recommended to use the same
* conventions as used in LocalizedStrings. E.g. COMPACT_DISK_STORE__MSG__ERROR_WHILE_COMPACTING__0
* = "Error occurred while compacting disk store {0}."
*
* 2. Defining Topic constants: 2.1 The constants' names should begin with "TOPIC_" E.g.
* TOPIC_GEODE_REGION 2.2 Topic brief description should be defined with suffix "__DESC". E.g.
* TOPIC_GEODE_REGION__DESC
*
* 3. Order for adding constants: It should be alphabetically sorted at least on the first name
* within the current group
*
* @since GemFire 7.0
*/
public class CliStrings {
public static final String GROUP = "group";
public static final String GROUPS = "groups";
public static final String MEMBER = "member";
public static final String MEMBERS = "members";
public static final String IFEXISTS = "if-exists";
public static final String IFNOTEXISTS = "if-not-exists";
public static final String JAR = "jar";
public static final String JARS = "jars";
public static final String NULL = "null";
public static final String IFEXISTS_HELP =
"If true, the command will be a no-op if the entity does not exist.";
public static final String IFNOTEXISTS_HELP =
"If true, the command will be a no-op if the entity does exist.";
public static final String ENTRY_IDLE_TIME_CUSTOM_EXPIRY = "entry-idle-time-custom-expiry";
public static final String ENTRY_TTL_CUSTOM_EXPIRY = "entry-time-to-live-custom-expiry";
public static final String ENTRY_IDLE_TIME_CUSTOM_EXPIRY_HELP =
"The name of the class implementing CustomExpiry for entry idle time. Append json string for initialization properties.";
public static final String ENTRY_TTL_CUSTOM_EXPIRY_HELP =
"The name of the class implementing CustomExpiry for entry time to live. Append json string for initialization properties.";
private static final String LOG_LEVEL_VALUES =
"Possible values for log-level include: ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF.";
/*-*************************************************************************
************* T O P I C S ***************
***************************************************************************/
public static final String DEFAULT_TOPIC_GEODE = "Geode";
public static final String DEFAULT_TOPIC_GEODE__DESC =
"Apache Geode is a distributed data management platform providing dynamic scalability, high performance and database-like persistence.";
public static final String TOPIC_GEODE_REGION = "Region";
public static final String TOPIC_GEODE_REGION__DESC =
"A region is the core building block of the Apache Geode distributed system. Cached data is organized into regions and all data puts, gets, and querying activities are done against them.";
public static final String TOPIC_GEODE_WAN = "WAN";
public static final String TOPIC_GEODE_WAN__DESC =
"For multiple data centers in remote locations, Geode provides a WAN gateway to facilitate data sharing. The WAN gateway connects two or more remote sites and then sends asynchronous, batched updates as data is changed.";
public static final String TOPIC_GEODE_JMX = "JMX";
public static final String TOPIC_GEODE_JMX__DESC =
"JMX technology provides the tools for building distributed, Web-based, modular and dynamic solutions for managing and monitoring devices, applications, and service-driven networks.";
public static final String TOPIC_GEODE_DISKSTORE = "Disk Store";
public static final String TOPIC_GEODE_DISKSTORE__DESC =
"Disk stores are used to persist data to disk as a backup to your in-memory copy or as overflow storage when memory use is too high.";
public static final String TOPIC_GEODE_LOCATOR = "Locator";
public static final String TOPIC_GEODE_LOCATOR__DESC =
"JVMs running Geode discover each other through a TCP service named the locator.";
public static final String TOPIC_GEODE_SERVER = "Server";
public static final String TOPIC_GEODE_SERVER__DESC =
"A server is Geode cluster member which holds a Geode cache. Depending on the topology used it can refer to either a system that responds to client requests or a system that is only a peer to other members.";
public static final String TOPIC_GEODE_MANAGER = "Manager";
public static final String TOPIC_GEODE_MANAGER__DESC =
"The Manager is a member which has the additional role of a managing & monitoring the Geode distributed system.";
public static final String TOPIC_GEODE_STATISTICS = "Statistics";
public static final String TOPIC_GEODE_STATISTICS__DESC =
"iEvery application and server in a Apache Geode distributed system can be configured to perform statistical data collection for analysis.";
public static final String TOPIC_GEODE_LIFECYCLE = "Lifecycle";
public static final String TOPIC_GEODE_LIFECYCLE__DESC =
"Launching, execution and termination of Geode cluster members such as servers and locators.";
public static final String TOPIC_GEODE_M_AND_M = "Management-Monitoring";
public static final String TOPIC_GEODE_M_AND_M__DESC =
"The management of and monitoring of Geode systems using Geode tools, such as Apache Geode Pulse or Data Browser, and JConsole, which is provided with the JDK(TM)";
public static final String TOPIC_GEODE_DATA = "Data";
public static final String TOPIC_GEODE_DATA__DESC =
"User data as stored in regions of the Geode distributed system.";
public static final String TOPIC_GEODE_CONFIG = "Configuration";
public static final String TOPIC_GEODE_CONFIG__DESC =
"Configuration of Apache Geode Cache & Servers/Locators hosting the Cache.";
public static final String TOPIC_GEODE_FUNCTION = "Function Execution";
public static final String TOPIC_GEODE_FUNCTION__DESC =
"The function execution service provides solutions for these application use cases: \n\tAn application that executes a server-side transaction or carries out data updates using the Geode distributed locking service. \n\tAn application that needs to initialize some of its components once on each server, which might be used later by executed functions. Initialization and startup of a third-party service, such as a messaging service. \n\tAny arbitrary aggregation operation that requires iteration over local data sets that can be done more efficiently through a single call to the cache server. \n\tAny kind of external resource provisioning that can be done by executing a function on a server.";
public static final String TOPIC_GEODE_HELP = "Help";
public static final String TOPIC_GEODE_HELP__DESC =
"Provides usage information for gfsh & its commands.";
public static final String TOPIC_GEODE_DEBUG_UTIL = "Debug-Utility";
public static final String TOPIC_GEODE_DEBUG_UTIL__DESC =
"Debugging aids & utilities to use with Apache Geode.";
public static final String TOPIC_GFSH = "GFSH";
public static final String TOPIC_GFSH__DESC = "The Geode Shell";
public static final String TOPIC_SHARED_CONFIGURATION = "Cluster Configuration";
public static final String TOPIC_SHARED_CONFIGURATION_HELP =
"Configuration for cluster and various groups. It consists of cache.xml, geode properties and deployed jars.\nChanges due to gfsh command are persisted to the locator hosting the cluster configuration service.";
public static final String TOPIC_LOGS = "Logs";
public static final String TOPIC_LOGS__DESC = "Generate log contents as per the need";
public static final String TOPIC_CLIENT = "Client";
public static final String TOPIC_CLIENT__DESC = "Client status";
/*-*************************************************************************
* ********* String Constants other than command name, options & help ******
* *************************************************************************/
public static final String DESKTOP_APP_RUN_ERROR_MESSAGE =
"Running desktop applications is not supported on %1$s.";
public static final String GEODE_HOME_NOT_FOUND_ERROR_MESSAGE =
"The GEODE environment variable was not defined. Please set the GEODE environment variable to the directory where GEODE is installed.";
public static final String JAVA_HOME_NOT_FOUND_ERROR_MESSAGE =
"Unable to locate the Java executables and dependencies. Please set the JAVA_HOME environment variable.";
public static final String CACHE_XML_NOT_FOUND_MESSAGE =
"Warning: The Geode cache XML file {0} could not be found.";
public static final String CLUSTER_CONFIG_PRECEDENCE_OVER_CACHE_XML_WARN =
"NOTE: If cluster configuration is enabled, then those settings will take precedence over: ";
public static final String GEODE_0_PROPERTIES_1_NOT_FOUND_MESSAGE =
"Warning: The Geode {0}properties file {1} could not be found.";
public static final String MEMBER_NOT_FOUND_ERROR_MESSAGE =
"Member {0} could not be found. Please verify the member name or ID and try again.";
public static final String NO_MEMBERS_IN_GROUP_ERROR_MESSAGE =
"No caching members for group {0} could be found. Please verify the group and try again.";
public static final String NO_MEMBERS_FOUND_MESSAGE = "No Members Found";
public static final String NO_CACHING_MEMBERS_FOUND_MESSAGE = "No caching members found.";
public static final String COMMAND_FAILURE_MESSAGE = "Error occurred while executing : {0}";
public static final String EXCEPTION_CLASS_AND_MESSAGE = "Exception : {0} , Message : {1}";
public static final String GROUP_EMPTY_ERROR_MESSAGE = "No members found in group : {0}";
public static final String REGION_NOT_FOUND = "Region : {0} not found";
public static final String INVALID_REGION_NAME = "Invalid region name";
public static final String INVALID_FILE_EXTENSION =
"Invalid file type, the file extension must be \"{0}\"";
public static final String GEODE_DATA_FILE_EXTENSION = ".gfd";
public static final String LOCATOR_HEADER = "Locator";
public static final String LOCATOR_TERM_NAME = "Locator";
public static final String ERROR__MSG__HEADER = "Error";
public static final String ZIP_FILE_EXTENSION = ".zip";
// This should be thrown for FunctionInvocationTargetException
public static final String COULD_NOT_EXECUTE_COMMAND_TRY_AGAIN =
"Could not execute \" {0} \", please try again ";
public static final String UNEXPECTED_RETURN_TYPE_EXECUTING_COMMAND_ERROR_MESSAGE =
"Received an unexpected return type ({0}) while executing command {1}.";
public static final String PROVIDE_ATLEAST_ONE_OPTION =
"\"{0}\" requires that one or more parameters be provided.";
public static final String STATUS_SERVICE__GFSH_NOT_CONNECTED_ERROR_MESSAGE =
"Gfsh must be connected in order to get the status of a {0} by member name or ID.";
public static final String STOP_SERVICE__GFSH_NOT_CONNECTED_ERROR_MESSAGE =
"Gfsh must be connected in order to stop a {0} by member name or ID.";
public static final String PROVIDE_EITHER_MEMBER_OR_GROUP_MESSAGE =
"Please provide either \"member\" or \"group\" option.";
public static final String GFSH_MUST_BE_CONNECTED_FOR_LAUNCHING_0 =
"Gfsh must be connected for launching {0}";
public static final String GFSH_MUST_BE_CONNECTED_VIA_JMX_FOR_LAUNCHING_0 =
"Gfsh must be connected via JMX for launching {0}";
public static final String ATTACH_API_IN_0_NOT_FOUND_ERROR_MESSAGE =
"The JDK {0} is required by 'start', 'status' and 'stop' commands for Locators and Servers. Please set JAVA_HOME to the JDK Directory or add the JDK {0} to the classpath, restart Gfsh and try again.";
public static final String ASYNC_PROCESS_LAUNCH_MESSAGE =
"Broken out of wait... the %1$s process will continue to startup in the background.%n";
public static final String NO_NON_LOCATOR_MEMBERS_FOUND = "No non-locator members found.";
public static final String NO_CLIENT_FOUND = "No client found on this server";
public static final String NO_CLIENT_FOUND_WITH_CLIENT_ID =
"No client found with client-id : {0}";
public static final String ACTION_SUCCEEDED_ON_MEMBER = "{0} on following members.";
public static final String OCCURRED_ON_MEMBERS = "Occurred on members";
public static final String SHARED_CONFIGURATION_NOT_STARTED =
"Cluster configuration service is enabled but has not started yet.";
public static final String SHARED_CONFIGURATION_NO_LOCATORS_WITH_SHARED_CONFIGURATION =
"No locators with cluster configuration enabled.";
public static final String SHARED_CONFIGURATION_FAILED_TO_PERSIST_COMMAND_CHANGES =
"This change is not persisted in the cluster configuration, either because the cluster configuration service is not running or the command is operating on targeted members.";
/* Other Constants */
public static final String GFSH__MSG__NO_LONGER_CONNECTED_TO_0 = "No longer connected to {0}.";
public static final String GFSHPARSER__MSG__REQUIRED_ARGUMENT_0 = "Required Argument: \"{0}\"";
public static final String GFSHPARSER__MSG__VALUE_REQUIRED_FOR_OPTION_0 =
"Value is required for parameter \"{0}\"";
public static final String GFSHPARSER__MSG__AMBIGUOUS_COMMAND_0_FOR_ASSISTANCE_USE_1_OR_HINT_HELP =
"Ambiguous command \"{0}\" (for assistance press \"{1}\" or type \"hint\" or \"help <command name>\" & then hit ENTER)";
public static final String GFSHPARSER__MSG__COMMAND_ARGUMENT_0_IS_REQUIRED_USE_HELP =
"Command parameter \"{0}\" is required. Use \"help <command name>\" for assistance.";
public static final String GFSHPARSER__MSG__COMMAND_OPTION_0_IS_REQUIRED_USE_HELP =
"Parameter \"{0}\" is required. Use \"help <command name>\" for assistance.";
public static final String GFSHPARSER__MSG__VALUE_0_IS_NOT_APPLICABLE_FOR_1 =
"Value \"{0}\" is not applicable for \"{1}\".";
public static final String GFSHPARSER__MSG__INVALID_COMMAND_STRING_0 =
"Invalid command String: {0}";
public static final String GFSHPARSER__MSG__COMMAND_0_IS_NOT_VALID =
"Command \"{0}\" is not valid.";
public static final String GFSHPARSER__MSG__NO_MATCHING_COMMAND = "No matching command";
public static final String GFSHPARSER__MSG__USE_0_HELP_COMMAND_TODISPLAY_DETAILS =
"Use {0}help <command name> to display detailed usage information for a specific command.";
public static final String GFSHPARSER__MSG__HELP_CAN_ALSO_BE_OBTAINED_BY_0_KEY =
"Help with command and parameter completion can also be obtained by entering all or a portion of either followed by the \"{0}\" key.";
public static final String GFSHPARSER__MSG__0_IS_NOT_AVAILABLE_REASON_1 =
"\"{0}\" is not available. Reason: {1}";
public static final String GFSHPARSER__MSG__OTHER_COMMANDS_STARTING_WITH_0_ARE =
"Other commands starting with \"{0}\" are: ";
public static final String ABSTRACTRESULTDATA__MSG__FILE_WITH_NAME_0_EXISTS_IN_1 =
"File with name \"{0}\" already exists in \"{1}\".";
public static final String ABSTRACTRESULTDATA__MSG__PARENT_DIRECTORY_OF_0_DOES_NOT_EXIST =
"Parent directory of \"{0}\" does not exist.";
public static final String ABSTRACTRESULTDATA__MSG__PARENT_DIRECTORY_OF_0_IS_NOT_WRITABLE =
"Parent directory of \"{0}\" is not writable.";
public static final String ABSTRACTRESULTDATA__MSG__PARENT_OF_0_IS_NOT_DIRECTORY =
"Parent of \"{0}\" is not a directory.";
public static final String AVAILABILITYTARGET_MSG_DEFAULT_UNAVAILABILITY_DESCRIPTION =
"Requires connection.";
public static final String LAUNCHERLIFECYCLECOMMANDS__MSG__FAILED_TO_START_0_REASON_1 =
"Failed to start {0}. Reason: {1}";
public static final String GFSH__PLEASE_CHECK_LOGS_AT_0 = "Please check logs {0}";
public static final String STACK_TRACE_FOR_MEMBER = "*** Stack-trace for member ";
/*-**************************************************************************
* *********** COMMAND NAME, OPTION, ARGUMENT, HELP, MESSAGES ****************
* **************************************************************************/
/* 'alter disk-store' command */
public static final String ALTER_DISK_STORE = "alter disk-store";
public static final String ALTER_DISK_STORE__HELP =
"Alter some options for a region or remove a region in an offline disk store.";
public static final String ALTER_DISK_STORE__DISKSTORENAME = "name";
public static final String ALTER_DISK_STORE__DISKSTORENAME__HELP =
"Name of the disk store whose contents will be altered.";
public static final String ALTER_DISK_STORE__REGIONNAME = "region";
public static final String ALTER_DISK_STORE__REGIONNAME__HELP =
"Name/Path of the region in the disk store to alter.";
public static final String ALTER_DISK_STORE__DISKDIRS = "disk-dirs";
public static final String ALTER_DISK_STORE__DISKDIRS__HELP =
"Directories where data for the disk store was previously written.";
public static final String ALTER_DISK_STORE__LRU__EVICTION__ALGORITHM = "lru-algorithm";
public static final String ALTER_DISK_STORE__LRU__EVICTION__ALGORITHM__HELP =
"Least recently used eviction algorithm. Valid values are: none, lru-entry-count, lru-heap-percentage and lru-memory-size.";
public static final String ALTER_DISK_STORE__LRU__EVICTION__ACTION = "lru-action";
public static final String ALTER_DISK_STORE__LRU__EVICTION__ACTION__HELP =
"Action to take when evicting entries from the region. Valid values are: none, overflow-to-disk and local-destroy.";
public static final String ALTER_DISK_STORE__LRU__EVICTION__LIMIT = "lru-limit";
public static final String ALTER_DISK_STORE__LRU__EVICTION__LIMIT__HELP =
"Number of entries allowed in the region before eviction will occur.";
public static final String ALTER_DISK_STORE__CONCURRENCY__LEVEL = "concurrency-level";
public static final String ALTER_DISK_STORE__CONCURRENCY__LEVEL__HELP =
"An estimate of the maximum number of application threads that will concurrently modify a region at one time. This attribute does not apply to partitioned regions.";
public static final String ALTER_DISK_STORE__INITIAL__CAPACITY = "initial-capacity";
public static final String ALTER_DISK_STORE__INITIAL__CAPACITY__HELP =
"Together with --load-factor, sets the parameters on the underlying java.util.ConcurrentHashMap used for storing region entries.";
public static final String ALTER_DISK_STORE__LOAD__FACTOR = "load-factor";
public static final String ALTER_DISK_STORE__LOAD__FACTOR__HELP =
"Together with --initial-capacity, sets the parameters on the underlying java.util.ConcurrentHashMap used for storing region entries. This must be a floating point number between 0 and 1, inclusive.";
public static final String ALTER_DISK_STORE__COMPRESSOR = "compressor";
public static final String ALTER_DISK_STORE__COMPRESSOR__HELP =
"The fully-qualified class name of the Compressor to use when compressing region entry values. A value of 'none' will remove the Compressor.";
public static final String ALTER_DISK_STORE__STATISTICS__ENABLED = "enable-statistics";
public static final String ALTER_DISK_STORE__STATISTICS__ENABLED__HELP =
"Whether to enable statistics. Valid values are: true and false.";
public static final String ALTER_DISK_STORE__OFF_HEAP = "off-heap";
public static final String ALTER_DISK_STORE__OFF_HEAP__HELP =
"Whether to use off-heap memory for the region. Valid values are: true and false.";
public static final String ALTER_DISK_STORE__REMOVE = "remove";
public static final String ALTER_DISK_STORE__REMOVE__HELP =
"Whether to remove the region from the disk store.";
/* alter gateway-sender */
public static final String ALTER_GATEWAYSENDER = "alter gateway-sender";
public static final String ALTER_GATEWAYSENDER__HELP =
"Alter some options for the Gateway Sender on a member or members.";
public static final String ALTER_GATEWAYSENDER__ID = "id";
public static final String ALTER_GATEWAYSENDER__ID__HELP = "ID of the gateway sender.";
public static final String ALTER_GATEWAYSENDER__GROUP__HELP =
"Group(s) of members on which to alter the gateway sender option.";
public static final String ALTER_GATEWAYSENDER__MEMBER__HELP =
"Name/Id of the member on which to alter the gateway sender option.";
public static final String ALTER_GATEWAYSENDER__ALERTTHRESHOLD = "alert-threshold";
public static final String ALTER_GATEWAYSENDER__ALERTTHRESHOLD__HELP =
"The alert threshold for entries in a gateway sender's queue.";
public static final String ALTER_GATEWAYSENDER__BATCHSIZE = "batch-size";
public static final String ALTER_GATEWAYSENDER__BATCHSIZE__HELP =
"The batch size for the gateway sender.";
public static final String ALTER_GATEWAYSENDER__BATCHTIMEINTERVAL = "batch-time-interval";
public static final String ALTER_GATEWAYSENDER__BATCHTIMEINTERVAL__HELP =
"The batch time interval for the gateway sender.";
public static final String ALTER_GATEWAYSENDER__GATEWAYEVENTFILTER = "gateway-event-filter";
public static final String ALTER_GATEWAYSENDER__GATEWAYEVENTFILTER__HELP =
"The list of fully qualified class names of GatewayEventFilters (separated by commas) to be associated with the GatewaySender.\n"
+ "This serves as a callback for users to filter out events before dispatching to the remote distributed system.\n"
+ "E.g gateway-event-filter=com.user.filters.MyFilter1,com.user.filters.MyFilters2";
public static final String ALTER_GATEWAYSENDER__GROUPTRANSACTIONEVENTS =
"group-transaction-events";
public static final String ALTER_GATEWAYSENDER__GROUPTRANSACTIONEVENTS__HELP =
"Ensure that all the events of a transaction are sent in the same batch, i.e., they are never spread across different batches.\n"
+ "Only allowed on serial gateway senders with 1 dispatcher thread or on parallel ones.\n"
+ "Note that in order to work for a transaction, the regions to which the transaction \n"
+ "events belong must be replicated by the same set of senders with this flag enabled.";
public static final String ALTER_GATEWAYSENDER__RELEVANT__OPTION__MESSAGE =
"Please provide a relevant parameter(s)";
public static final String ALTER_GATEWAYSENDER__MSG__CAN_NOT_CREATE_DIFFERENT_VERSIONS =
"Alter Gateway Sender cannot be performed until all members are the current version";
/* 'alter region' command */
public static final String ALTER_REGION = "alter region";
public static final String ALTER_REGION__HELP =
"Alter a region with the given path and configuration.";
public static final String ALTER_REGION__REGION = "name";
public static final String ALTER_REGION__REGION__HELP = "Name/Path of the region to be altered.";
public static final String ALTER_REGION__GROUP__HELP =
"Group(s) of members on which the region will be altered.";
public static final String ALTER_REGION__ENTRYEXPIRATIONIDLETIME = "entry-idle-time-expiration";
public static final String ALTER_REGION__ENTRYEXPIRATIONIDLETIME__HELP =
"How long the region's entries can remain in the cache without being accessed. The default is no expiration of this type.";
public static final String ALTER_REGION__ENTRYEXPIRATIONIDLETIMEACTION =
"entry-idle-time-expiration-action";
public static final String ALTER_REGION__ENTRYEXPIRATIONIDLETIMEACTION__HELP =
"Action to be taken on an entry that has exceeded the idle expiration.";
public static final String ALTER_REGION__ENTRYEXPIRATIONTIMETOLIVE =
"entry-time-to-live-expiration";
public static final String ALTER_REGION__ENTRYEXPIRATIONTIMETOLIVE__HELP =
"How long the region's entries can remain in the cache without being accessed or updated. The default is no expiration of this type.";
public static final String ALTER_REGION__ENTRYEXPIRATIONTTLACTION =
"entry-time-to-live-expiration-action";
public static final String ALTER_REGION__ENTRYEXPIRATIONTTLACTION__HELP =
"Action to be taken on an entry that has exceeded the TTL expiration.";
public static final String ALTER_REGION__REGIONEXPIRATIONIDLETIME = "region-idle-time-expiration";
public static final String ALTER_REGION__REGIONEXPIRATIONIDLETIME__HELP =
"How long the region can remain in the cache without being accessed. The default is no expiration of this type.";
public static final String ALTER_REGION__REGIONEXPIRATIONIDLETIMEACTION =
"region-idle-time-expiration-action";
public static final String ALTER_REGION__REGIONEXPIRATIONIDLETIMEACTION__HELP =
"Action to be taken on a region that has exceeded the idle expiration.";
public static final String ALTER_REGION__REGIONEXPIRATIONTTL = "region-time-to-live-expiration";
public static final String ALTER_REGION__REGIONEXPIRATIONTTL__HELP =
"How long the region can remain in the cache without being accessed or updated. The default is no expiration of this type.";
public static final String ALTER_REGION__REGIONEXPIRATIONTTLACTION =
"region-time-to-live-expiration-action";
public static final String ALTER_REGION__REGIONEXPIRATIONTTLACTION__HELP =
"Action to be taken on a region that has exceeded the TTL expiration.";
public static final String ALTER_REGION__CACHELISTENER = "cache-listener";
public static final String ALTER_REGION__CACHELISTENER__HELP =
"Fully qualified class name of a plug-in to be instantiated for receiving after-event notification of changes to the region and its entries. Any number of cache listeners can be configured.";
public static final String ALTER_REGION__CACHELOADER = "cache-loader";
public static final String ALTER_REGION__CACHELOADER__HELP =
"Fully qualified class name of a plug-in to be instantiated for receiving notification of cache misses in the region. At most, one cache loader can be defined in each member for the region. For distributed regions, a cache loader may be invoked remotely from other members that have the region defined.";
public static final String ALTER_REGION__CACHEWRITER = "cache-writer";
public static final String ALTER_REGION__CACHEWRITER__HELP =
"Fully qualified class name of a plug-in to be instantiated for receiving before-event notification of changes to the region and its entries. The plug-in may cancel the event. At most, one cache writer can be defined in each member for the region.";
public static final String ALTER_REGION__ASYNCEVENTQUEUEID = "async-event-queue-id";
public static final String ALTER_REGION__ASYNCEVENTQUEUEID__HELP =
"IDs of the Async Event Queues that will be used for write-behind operations.";
public static final String ALTER_REGION__GATEWAYSENDERID = "gateway-sender-id";
public static final String ALTER_REGION__GATEWAYSENDERID__HELP =
"IDs of the Gateway Senders to which data will be routed.";
public static final String ALTER_REGION__CLONINGENABLED = "enable-cloning";
public static final String ALTER_REGION__CLONINGENABLED__HELP =
"Determines how fromDelta applies deltas to the local cache for delta propagation. When true, the updates are applied to a clone of the value and then the clone is saved to the cache. When false, the value is modified in place in the cache.";
public static final String ALTER_REGION__EVICTIONMAX = "eviction-max";
public static final String ALTER_REGION__EVICTIONMAX__HELP =
"Maximum value for the Eviction Attributes which the Eviction Algorithm uses to determine when to perform its Eviction Action. The unit of the maximum value is determined by the Eviction Algorithm.";
public static final String ALTER_REGION__MSG__REGION_0_ALTERED_ON_1 =
"Region \"{0}\" altered on \"{1}\"";
public static final String ALTER_REGION__MSG__COULD_NOT_FIND_CLASS_0_SPECIFIED_FOR_1 =
"Could not find class \"{0}\" specified for \"{1}\".";
public static final String ALTER_REGION__MSG__COULD_NOT_INSTANTIATE_CLASS_0_SPECIFIED_FOR_1 =
"Could not instantiate class \"{0}\" specified for \"{1}\".";
public static final String ALTER_REGION__MSG__CLASS_SPECIFIED_FOR_0_SPECIFIED_FOR_1_IS_NOT_OF_EXPECTED_TYPE =
"Class \"{0}\" specified for \"{1}\" is not of an expected type.";
public static final String ALTER_REGION__MSG__COULD_NOT_ACCESS_CLASS_0_SPECIFIED_FOR_1 =
"Could not access class \"{0}\" specified for \"{1}\".";
public static final String ALTER_REGION__MSG__SPECIFY_POSITIVE_INT_FOR_EVICTIONMAX_0_IS_NOT_VALID =
"Specify 0 or a positive integer value for " + CliStrings.ALTER_REGION__EVICTIONMAX
+ ". \"{0}\" is not valid.";
public static final String ALTER_REGION__MSG__REGION_DOES_NOT_EXIST_0 =
"Region doesn't exist: {0}";
public static final String ALTER_RUNTIME_CONFIG = "alter runtime";
public static final String ALTER_RUNTIME_CONFIG__HELP =
"Alter a subset of member or members configuration properties while running.";
public static final String ALTER_RUNTIME_CONFIG__MEMBER__HELP =
"Name/Id of the member in whose configuration will be altered.";
public static final String ALTER_RUNTIME_CONFIG__GROUP__HELP =
"Group of members whose configuration will be altered.";
public static final String ALTER_RUNTIME_CONFIG__ARCHIVE__FILE__SIZE__LIMIT =
ARCHIVE_FILE_SIZE_LIMIT;
public static final String ALTER_RUNTIME_CONFIG__ARCHIVE__FILE__SIZE__LIMIT__HELP =
"Archive file size limit. Valid values are (in megabytes): "
+ DistributionConfig.MIN_ARCHIVE_FILE_SIZE_LIMIT + " - "
+ DistributionConfig.MAX_ARCHIVE_FILE_SIZE_LIMIT + ".";
public static final String ALTER_RUNTIME_CONFIG__ARCHIVE__DISK__SPACE__LIMIT =
ARCHIVE_DISK_SPACE_LIMIT;
public static final String ALTER_RUNTIME_CONFIG__ARCHIVE__DISK__SPACE__LIMIT__HELP =
"Archive disk space limit. Valid values are (in megabytes): "
+ DistributionConfig.MIN_ARCHIVE_DISK_SPACE_LIMIT + " - "
+ DistributionConfig.MAX_ARCHIVE_DISK_SPACE_LIMIT + ".";
public static final String ALTER_RUNTIME_CONFIG__LOG__FILE__SIZE__LIMIT = LOG_FILE_SIZE_LIMIT;
public static final String ALTER_RUNTIME_CONFIG__LOG__FILE__SIZE__LIMIT__HELP =
"Log file size limit. Valid values are (in megabytes): "
+ DistributionConfig.MIN_LOG_FILE_SIZE_LIMIT + " - "
+ DistributionConfig.MAX_LOG_FILE_SIZE_LIMIT + ".";
public static final String ALTER_RUNTIME_CONFIG__LOG__DISK__SPACE__LIMIT = LOG_DISK_SPACE_LIMIT;
public static final String ALTER_RUNTIME_CONFIG__LOG__DISK__SPACE__LIMIT__HELP =
"Log disk space limit. Valid values are (in megabytes): "
+ DistributionConfig.MIN_LOG_DISK_SPACE_LIMIT + " - "
+ DistributionConfig.MAX_LOG_DISK_SPACE_LIMIT + ".";
public static final String ALTER_RUNTIME_CONFIG__LOG__LEVEL = LOG_LEVEL;
public static final String ALTER_RUNTIME_CONFIG__LOG__LEVEL__HELP =
"Log level. " + LOG_LEVEL_VALUES;
public static final String ALTER_RUNTIME_CONFIG__STATISTIC__SAMPLING__ENABLED =
"enable-statistics";
public static final String ALTER_RUNTIME_CONFIG__STATISTIC__SAMPLING__ENABLED__HELP =
"Whether statistic sampling should be enabled. Valid values are: true and false.";
public static final String ALTER_RUNTIME_CONFIG__STATISTIC__SAMPLE__RATE = STATISTIC_SAMPLE_RATE;
public static final String ALTER_RUNTIME_CONFIG__STATISTIC__SAMPLE__RATE__HELP =
"Statistic sampling rate. Valid values are (in milliseconds): "
+ DistributionConfig.MIN_STATISTIC_SAMPLE_RATE + " - "
+ DistributionConfig.MAX_STATISTIC_SAMPLE_RATE + ".";
public static final String ALTER_RUNTIME_CONFIG__STATISTIC__ARCHIVE__FILE =
STATISTIC_ARCHIVE_FILE;
public static final String ALTER_RUNTIME_CONFIG__STATISTIC__ARCHIVE__FILE__HELP =
"File to which the statistics will be written.";
public static final String ALTER_RUNTIME_CONFIG__COPY__ON__READ = CacheXml.COPY_ON_READ;
public static final String ALTER_RUNTIME_CONFIG__COPY__ON__READ__HELP =
"Sets the \"copy on read\" feature for cache read operations";
public static final String ALTER_RUNTIME_CONFIG__LOCK__LEASE = CacheXml.LOCK_LEASE;
public static final String ALTER_RUNTIME_CONFIG__LOCK__LEASE__HELP =
"Sets the length, in seconds, of distributed lock leases obtained by this cache.";
public static final String ALTER_RUNTIME_CONFIG__LOCK__TIMEOUT = CacheXml.LOCK_TIMEOUT;
public static final String ALTER_RUNTIME_CONFIG__LOCK__TIMEOUT__HELP =
"Sets the number of seconds a cache operation may wait to obtain a distributed lock lease before timing out.";
public static final String ALTER_RUNTIME_CONFIG__MESSAGE__SYNC__INTERVAL =
CacheXml.MESSAGE_SYNC_INTERVAL;
public static final String ALTER_RUNTIME_CONFIG__MESSAGE__SYNC__INTERVAL__HELP =
"Sets the frequency (in seconds) at which a message will be sent by the primary cache-server node to all the secondary cache-server nodes to remove the events which have already been dispatched from the queue";
public static final String ALTER_RUNTIME_CONFIG__SEARCH__TIMEOUT = CacheXml.SEARCH_TIMEOUT;
public static final String ALTER_RUNTIME_CONFIG__SEARCH__TIMEOUT__HELP =
"Sets the number of seconds a cache get operation can spend searching for a value.";
public static final String ALTER_RUNTIME_CONFIG__SUCCESS__MESSAGE =
"Runtime configuration altered successfully for the following member(s)";
public static final String ALTER_RUNTIME_CONFIG__MEMBER__NOT__FOUND = "Member : {0} not found";
public static final String ALTER_RUNTIME_CONFIG__RELEVANT__OPTION__MESSAGE =
"Please provide a relevant parameter(s)";
/* 'backup disk-store' command */
public static final String BACKUP_DISK_STORE = "backup disk-store";
public static final String BACKUP_DISK_STORE__HELP =
"Perform a backup on all members with persistent data. The target directory must exist on all members, but can be either local or shared. This command can safely be executed on active members and is strongly recommended over copying files via operating system commands.";
public static final String BACKUP_DISK_STORE__DISKDIRS = "dir";
public static final String BACKUP_DISK_STORE__BASELINEDIR = "baseline-dir";
public static final String BACKUP_DISK_STORE__BASELINEDIR__HELP =
"Directory which contains the baseline backup used for comparison during an incremental backup.";
public static final String BACKUP_DISK_STORE__DISKDIRS__HELP =
"Directory to which backup files will be written.";
public static final String BACKUP_DISK_STORE_MSG_BACKED_UP_DISK_STORES =
"The following disk stores were backed up successfully";
public static final String BACKUP_DISK_STORE_MSG_OFFLINE_DISK_STORES =
"The backup may be incomplete. The following disk stores are not online";
public static final String BACKUP_DISK_STORE_MSG_HOST = "Host";
public static final String BACKUP_DISK_STORE_MSG_DIRECTORY = "Directory";
public static final String BACKUP_DISK_STORE_MSG_UUID = "UUID";
public static final String BACKUP_DISK_STORE_MSG_MEMBER = "Member";
public static final String BACKUP_DISK_STORE_MSG_NO_DISKSTORES_BACKED_UP =
"No disk store(s) were backed up.";
/* 'compact disk-store' command */
public static final String COMPACT_DISK_STORE = "compact disk-store";
public static final String COMPACT_DISK_STORE__HELP =
"Compact a disk store on all members with that disk store. This command uses the compaction threshold that each member has configured for its disk stores. The disk store must have \"allow-force-compaction\" set to true.";
public static final String COMPACT_DISK_STORE__NAME = "name";
public static final String COMPACT_DISK_STORE__NAME__HELP =
"Name of the disk store to be compacted.";
public static final String COMPACT_DISK_STORE__GROUP__HELP =
"Group(s) of members that will perform disk compaction. If no group is specified the disk store will be compacted by all members.";
public static final String COMPACT_DISK_STORE__DISKSTORE_0_DOES_NOT_EXIST =
"Disk store \"{0}\" does not exist.";
public static final String COMPACT_DISK_STORE__MSG__FOR_GROUP = " for group(s) \"{0}\"";
public static final String COMPACT_DISK_STORE__NO_MEMBERS_FOUND_IN_SPECIFED_GROUP =
"No members found in the specified group(s) \"{0}\".";
public static final String COMPACT_DISK_STORE__COMPACTION_ATTEMPTED_BUT_NOTHING_TO_COMPACT =
"Attempted to compact disk store, but there was nothing to do.";
public static final String COMPACT_DISK_STORE__ERROR_WHILE_COMPACTING_REASON_0 =
"An error occurred while doing compaction: \"{0}\"";
/* 'compact offline-disk-store' command */
public static final String COMPACT_OFFLINE_DISK_STORE = "compact offline-disk-store";
public static final String COMPACT_OFFLINE_DISK_STORE__HELP =
"Compact an offline disk store. If the disk store is large, additional memory may need to be allocated to the process using the --J=-Xmx??? parameter.";
public static final String COMPACT_OFFLINE_DISK_STORE__NAME = "name";
public static final String COMPACT_OFFLINE_DISK_STORE__NAME__HELP =
"Name of the offline disk store to be compacted.";
public static final String COMPACT_OFFLINE_DISK_STORE__DISKDIRS = "disk-dirs";
public static final String COMPACT_OFFLINE_DISK_STORE__DISKDIRS__HELP =
"Directories where data for the disk store was previously written.";
public static final String COMPACT_OFFLINE_DISK_STORE__MAXOPLOGSIZE = "max-oplog-size";
public static final String COMPACT_OFFLINE_DISK_STORE__MAXOPLOGSIZE__HELP =
"Maximum size (in megabytes) of the oplogs created by compaction.";
public static final String COMPACT_OFFLINE_DISK_STORE__J = "J";
public static final String COMPACT_OFFLINE_DISK_STORE__J__HELP =
"Arguments passed to the Java Virtual Machine performing the compact operation on the disk store.";
public static final String COMPACT_OFFLINE_DISK_STORE__MSG__DISKSTORE_0_DOES_NOT_EXIST =
"Disk store \"{0}\" does not exist.";
public static final String COMPACT_OFFLINE_DISK_STORE__MSG__COMPACTION_ATTEMPTED_BUT_NOTHING_TO_COMPACT =
"Attempted to compact disk store, but there was nothing to do.";
public static final String COMPACT_OFFLINE_DISK_STORE__MSG__ERROR_WHILE_COMPACTING_REASON_0 =
"An error occurred while doing compaction: \"{0}\"";
public static final String COMPACT_OFFLINE_DISK_STORE__MSG__VERIFY_WHETHER_DISKSTORE_EXISTS_IN_0 =
"Verify whether the disk store exists in \"{0}\".";
public static final String COMPACT_OFFLINE_DISK_STORE__MSG__DISKSTORE_IN_USE_COMPACT_DISKSTORE_CAN_BE_USED =
"This disk store is in use by other process. \"" + CliStrings.COMPACT_DISK_STORE
+ "\" can be used to compact disk store that is current in use.";
public static final String COMPACT_OFFLINE_DISK_STORE__MSG__CANNOT_ACCESS_DISKSTORE_0_FROM_1_CHECK_GFSH_LOGS =
"Can not access disk store \"{0}\" from \"{1}\". Check gfsh"
+ " logs for error.";
public static final String COMPACT_OFFLINE_DISK_STORE__MSG__ERROR_WHILE_COMPACTING_DISKSTORE_0_WITH_1_REASON_2 =
"While compacting disk store={0} {1}. Reason: {2}";
/* connect command */
public static final String CONNECT = "connect";
public static final String CONNECT__HELP =
"Connect to a jmx-manager either directly or via a Locator. If connecting via a Locator, and a jmx-manager doesn't already exist, the Locator will start one.";
public static final String CONNECT__JMX_MANAGER = JMX_MANAGER;
public static final String CONNECT__JMX_MANAGER__HELP =
"Network address of the jmx-manager in the form: host[port].";
public static final String CONNECT__LOCATOR = "locator";
public static final String CONNECT__LOCATOR__HELP =
"Network address of the Locator in the form: host[port].";
public static final String CONNECT__URL = "url";
public static final String CONNECT__URL__HELP =
"Indicates the base URL to the Manager's HTTP service. For example: 'http://<host>:<port>/geode-mgmt/v1'";
public static final String CONNECT__USE_HTTP = "use-http";
public static final String CONNECT__USE_HTTP__HELP =
"[Deprecated: inferred by the presence of --url]. Connects to Manager by sending HTTP requests to HTTP service hosting the Management REST API. You must first 'disconnect' in order to reconnect to the Manager via locator or jmx-manager using JMX.";
public static final String CONNECT__USERNAME = "user";
public static final String CONNECT__USERNAME_LONGFORM = "username";
public static final String CONNECT__USERNAME__HELP =
"User name to securely connect to the jmx-manager. If the --password parameter is not specified then it will be prompted for.";
public static final String CONNECT__PASSWORD = "password";
public static final String CONNECT__PASSWORD__HELP =
"Password to securely connect to the jmx-manager.";
public static final String CONNECT__TOKEN = "token";
public static final String CONNECT__TOKEN__HELP = "Token to securely connect to the jmx-manager.";
public static final String CONNECT__KEY_STORE = "key-store";
public static final String CONNECT__KEY_STORE__HELP =
"Java keystore file containing this application's certificate and private key. If the --key-store-password parameter is not specified then it will be prompted for.";
public static final String CONNECT__KEY_STORE_PASSWORD = "key-store-password";
public static final String CONNECT__KEY_STORE_PASSWORD__HELP =
"Password to access the private key from the keystore file specified by --key-store.";
public static final String CONNECT__TRUST_STORE = "trust-store";
public static final String CONNECT__TRUST_STORE__HELP =
"Java keystore file containing the collection of CA certificates trusted by this application. If the --trust-store-password parameter is not specified then it will be prompted for.";
public static final String CONNECT__TRUST_STORE_PASSWORD = "trust-store-password";
public static final String CONNECT__TRUST_STORE_PASSWORD__HELP =
"Password to unlock the keystore file specified by --trust-store";
public static final String CONNECT__SSL_CIPHERS = "ciphers";
public static final String CONNECT__SSL_CIPHERS__HELP =
"SSL/TLS ciphers used when encrypting the connection. The default is \"any\".";
public static final String CONNECT__SSL_PROTOCOLS = "protocols";
public static final String CONNECT__SSL_PROTOCOLS__HELP =
"SSL/TLS protocol versions to enable when encrypting the connection. The default is \"any\".";
public static final String CONNECT__MSG__CONNECTING_TO_LOCATOR_AT_0 =
"Connecting to Locator at {0} ..";
public static final String CONNECT__SECURITY_PROPERTIES = "security-properties-file";
public static final String CONNECT__SECURITY_PROPERTIES__HELP =
"The gfsecurity.properties file for configuring gfsh to connect to the Locator/Manager. The file's path can be absolute or relative to gfsh directory.";
public static final String CONNECT__USE_SSL = "use-ssl";
public static final String CONNECT__USE_SSL__HELP =
"Whether to use SSL for communication with Locator and/or JMX Manager. If set to \"true\", \"gfsecurity.properties\" will also be read. SSL Options take precedence over the properties file. If none are specified, defaults will be used. The default value for this options is \"false\". This option is only required if JMX is to be used over SSL. For http, the protocol is inferred from the URL.";
public static final String CONNECT__MSG__CONNECTING_TO_MANAGER_AT_0 =
"Connecting to Manager at {0} ..";
public static final String CONNECT__MSG__CONNECTING_TO_MANAGER_HTTP_SERVICE_AT_0 =
"Connecting to Manager's HTTP service at {0} ..";
public static final String CONNECT__MSG__LOCATOR_COULD_NOT_FIND_MANAGER =
"Locator could not find a JMX Manager";
public static final String CONNECT__MSG__JMX_PASSWORD_MUST_BE_SPECIFIED =
"password must be specified.";
public static final String CONNECT__MSG__ALREADY_CONNECTED = "Already connected to: {0}";
public static final String CONNECT__MSG__SUCCESS = "Successfully connected to: {0}";
public static final String CONNECT__MSG__ERROR = "Could not connect to : {0}. {1}";
public static final String CONNECT__MSG__SERVICE_UNAVAILABLE_ERROR =
"Could not find a Geode jmx-manager service at {0}.";
public static final String CONNECT__MSG__COULD_NOT_CONNECT_TO_LOCATOR_0 =
"Could not connect to Geode Locator service at {0}.";
public static final String CONNECT__MSG__COULD_NOT_READ_CONFIG_FROM_0 =
"Could not read config from {0}.";
public static final String CONNECT__MSG__COULD_NOT_CONNECT_TO_LOCATOR_0_POSSIBLY_SSL_CONFIG_ERROR =
"Could not connect to Locator at {0}." + System.lineSeparator()
+ "Possible reason: Wrong or no SSL configuration provided.";
public static final String CONNECT__MSG__COULD_NOT_CONNECT_TO_MANAGER_0_POSSIBLY_SSL_CONFIG_ERROR =
"Could not connect to Manager at {0}." + System.lineSeparator()
+ "Possible reason: Wrong or no SSL configuration provided.";
/* 'create async-event-queue' command */
public static final String CREATE_ASYNC_EVENT_QUEUE = "create async-event-queue";
public static final String CREATE_ASYNC_EVENT_QUEUE__HELP = "Create Async Event Queue.";
public static final String CREATE_ASYNC_EVENT_QUEUE__ID = "id";
public static final String CREATE_ASYNC_EVENT_QUEUE__ID__HELP = "ID of the queue to be created.";
public static final String CREATE_ASYNC_EVENT_QUEUE__PARALLEL = "parallel";
public static final String CREATE_ASYNC_EVENT_QUEUE__PARALLEL__HELP =
"Whether this queue is parallel.";
public static final String CREATE_ASYNC_EVENT_QUEUE__BATCH_SIZE = "batch-size";
public static final String CREATE_ASYNC_EVENT_QUEUE__BATCH_SIZE__HELP =
"Maximum number of events that a batch can contain.";
public static final String CREATE_ASYNC_EVENT_QUEUE__BATCHTIMEINTERVAL = "batch-time-interval";
public static final String CREATE_ASYNC_EVENT_QUEUE__BATCHTIMEINTERVAL__HELP =
"Maximum amount of time, in ms, that can elapse before a batch is delivered.";
public static final String CREATE_ASYNC_EVENT_QUEUE__ENABLEBATCHCONFLATION =
"enable-batch-conflation";
public static final String CREATE_ASYNC_EVENT_QUEUE__ENABLEBATCHCONFLATION__HELP =
"Whether to enable batch conflation.";
public static final String CREATE_ASYNC_EVENT_QUEUE__PERSISTENT = "persistent";
public static final String CREATE_ASYNC_EVENT_QUEUE__PERSISTENT__HELP =
"Whether events should be persisted to a disk store.";
public static final String CREATE_ASYNC_EVENT_QUEUE__DISK_STORE = "disk-store";
public static final String CREATE_ASYNC_EVENT_QUEUE__DISK_STORE__HELP =
"Disk store to be used by this queue.";
public static final String CREATE_ASYNC_EVENT_QUEUE__DISKSYNCHRONOUS = "disk-synchronous";
public static final String CREATE_ASYNC_EVENT_QUEUE__DISKSYNCHRONOUS__HELP =
"Whether disk writes are synchronous.";
public static final String CREATE_ASYNC_EVENT_QUEUE__FORWARD_EXPIRATION_DESTROY =
"forward-expiration-destroy";
public static final String CREATE_ASYNC_EVENT_QUEUE__FORWARD_EXPIRATION_DESTROY__HELP =
"Whether to forward expiration destroy events.";
public static final String CREATE_ASYNC_EVENT_QUEUE__MAXIMUM_QUEUE_MEMORY = "max-queue-memory";
public static final String CREATE_ASYNC_EVENT_QUEUE__MAXIMUM_QUEUE_MEMORY__HELP =
"Maximum amount of memory, in megabytes, that the queue can consume before overflowing to disk.";
public static final String CREATE_ASYNC_EVENT_QUEUE__GATEWAYEVENTFILTER = "gateway-event-filter";
public static final String CREATE_ASYNC_EVENT_QUEUE__GATEWAYEVENTFILTER__HELP =
"List of fully qualified class names of GatewayEventFilters for this queue. These classes filter events before dispatching to remote servers.";
public static final String CREATE_ASYNC_EVENT_QUEUE__ORDERPOLICY = "order-policy";
public static final String CREATE_ASYNC_EVENT_QUEUE__ORDERPOLICY__HELP =
"Policy for dispatching events when --dispatcher-threads is > 1. Possible values are 'THREAD', 'KEY', 'PARTITION'.";
public static final String CREATE_ASYNC_EVENT_QUEUE__DISPATCHERTHREADS = "dispatcher-threads";
public static final String CREATE_ASYNC_EVENT_QUEUE__DISPATCHERTHREADS__HELP =
"Number of threads to use for sending events.";
public static final String CREATE_ASYNC_EVENT_QUEUE__SUBSTITUTION_FILTER =
"gateway-event-substitution-filter";
public static final String CREATE_ASYNC_EVENT_QUEUE__SUBSTITUTION_FILTER__HELP =
"Fully qualified class name of the GatewayEventSubstitutionFilter for this queue.";
public static final String CREATE_ASYNC_EVENT_QUEUE__LISTENER = "listener";
public static final String CREATE_ASYNC_EVENT_QUEUE__LISTENER__HELP =
"Fully qualified class name of the AsyncEventListener for this queue.";
public static final String CREATE_ASYNC_EVENT_QUEUE__LISTENER_PARAM_AND_VALUE = "listener-param";
public static final String CREATE_ASYNC_EVENT_QUEUE__LISTENER_PARAM_AND_VALUE__HELP =
"Parameter name for the AsyncEventListener. Optionally, parameter names may be followed by # and a value for the parameter. Example: --listener-param=loadAll --listener-param=maxRead#1024";
public static final String CREATE_ASYNC_EVENT_QUEUE__PAUSE_EVENT_PROCESSING =
"pause-event-processing";
public static final String CREATE_ASYNC_EVENT_QUEUE__PAUSE_EVENT_PROCESSING__HELP =
"AsyncEventQueue will be created with a paused event processor. resume command must be executed to resume event processing.";
public static final String CREATE_ASYNC_EVENT_QUEUE__GROUP__HELP =
"Group(s) of members on which queue will be created. If no group is specified the queue will be created on all members.";
public static final String CREATE_ASYNC_EVENT_QUEUE__ERROR_WHILE_CREATING_REASON_0 =
"An error occurred while creating the queue: {0}";
public static final String CREATE_ASYNC_EVENT_QUEUE__MSG__COULD_NOT_ACCESS_CLASS_0_SPECIFIED_FOR_1 =
"Could not access class \"{0}\" specified for \"{1}\".";
public static final String CREATE_ASYNC_EVENT_QUEUE__MSG__COULD_NOT_INSTANTIATE_CLASS_0_SPECIFIED_FOR_1 =
"Could not instantiate class \"{0}\" specified for \"{1}\".";
public static final String CREATE_ASYNC_EVENT_QUEUE__MSG__CLASS_0_SPECIFIED_FOR_1_IS_NOT_OF_EXPECTED_TYPE =
"Class \"{0}\" specified for \"{1}\" is not of an expected type.";
public static final String CREATE_ASYNC_EVENT_QUEUE__MSG__COULD_NOT_FIND_CLASS_0_SPECIFIED_FOR_1 =
"Could not find class \"{0}\" specified for \"{1}\".";
/* 'create disk-store' command */
public static final String CREATE_DISK_STORE = "create disk-store";
public static final String CREATE_DISK_STORE__HELP = "Create a disk store.";
public static final String CREATE_DISK_STORE__NAME = "name";
public static final String CREATE_DISK_STORE__NAME__HELP =
"Name of the disk store to be created.";
public static final String CREATE_DISK_STORE__ALLOW_FORCE_COMPACTION = "allow-force-compaction";
public static final String CREATE_DISK_STORE__ALLOW_FORCE_COMPACTION__HELP =
"Whether to allow manual compaction through the API or command-line tools.";
public static final String CREATE_DISK_STORE__AUTO_COMPACT = "auto-compact";
public static final String CREATE_DISK_STORE__AUTO_COMPACT__HELP =
"Whether to automatically compact a file when it reaches the compaction-threshold.";
public static final String CREATE_DISK_STORE__COMPACTION_THRESHOLD = "compaction-threshold";
public static final String CREATE_DISK_STORE__COMPACTION_THRESHOLD__HELP =
"Percentage of garbage allowed in the file before it is eligible for compaction.";
public static final String CREATE_DISK_STORE__MAX_OPLOG_SIZE = "max-oplog-size";
public static final String CREATE_DISK_STORE__MAX_OPLOG_SIZE__HELP =
"The largest size, in megabytes, to allow an operation log to become before automatically rolling to a new file.";
public static final String CREATE_DISK_STORE__QUEUE_SIZE = "queue-size";
public static final String CREATE_DISK_STORE__QUEUE_SIZE__HELP =
"For asynchronous queueing. The maximum number of operations to allow into the write queue before automatically flushing the queue. The default of 0 indicates no limit.";
public static final String CREATE_DISK_STORE__TIME_INTERVAL = "time-interval";
public static final String CREATE_DISK_STORE__TIME_INTERVAL__HELP =
"For asynchronous queueing. The number of milliseconds that can elapse before data is flushed to disk. Reaching this limit or the queue-size limit causes the queue to flush.";
public static final String CREATE_DISK_STORE__WRITE_BUFFER_SIZE = "write-buffer-size";
public static final String CREATE_DISK_STORE__WRITE_BUFFER_SIZE__HELP =
"Size in bytes of the buffer used to write to disk.";
public static final String CREATE_DISK_STORE__DIRECTORY_AND_SIZE = "dir";
public static final String CREATE_DISK_STORE__DIRECTORY_AND_SIZE__HELP =
"Directories where the disk store files will be written, the directories will be created if they don't exist. Optionally, directory names may be followed by # and the maximum number of megabytes that the disk store can use in the directory. Example: --dir=/data/ds1 --dir=/data/ds2#5000";
public static final String CREATE_DISK_STORE__GROUP__HELP =
"Group(s) of members on which the disk store will be created. If no group is specified the disk store will be created on all members.";
public static final String CREATE_DISK_STORE__DISK_USAGE_WARNING_PCT =
"disk-usage-warning-percentage";
public static final String CREATE_DISK_STORE__DISK_USAGE_WARNING_PCT__HELP =
"Warning percentage for disk volume usage.";
public static final String CREATE_DISK_STORE__DISK_USAGE_CRITICAL_PCT =
"disk-usage-critical-percentage";
public static final String CREATE_DISK_STORE__DISK_USAGE_CRITICAL_PCT__HELP =
"Critical percentage for disk volume usage.";
public static final String CREATE_DISK_STORE__ERROR_WHILE_CREATING_REASON_0 =
"An error occurred while creating the disk store: \"{0}\"";
public static final String CREATE_DISK_STORE__DIR_SIZE_TOO_BIG_ERROR =
"Directory size (%s) is over the maximum allowed value.";
public static final String CREATE_DISK_STORE__DIR_SIZE_IS_NEGATIVE =
"Directory size cannot be negative (%s)";
public static final String CREATE_DISK_STORE__DIR_SIZE_NOT_A_NUMBER =
"Incorrect directory size specified (%s)";
/* create index */
public static final String CREATE_INDEX = "create index";
public static final String CREATE_INDEX__HELP =
"Create an index that can be used when executing queries.";
public static final String CREATE_INDEX__NAME = "name";
public static final String CREATE_INDEX__NAME__HELP = "Name of the index to create.";
public static final String CREATE_INDEX__EXPRESSION = "expression";
public static final String CREATE_INDEX__EXPRESSION__HELP =
"Field of the region values that are referenced by the index.";
public static final String CREATE_INDEX__REGION = "region";
public static final String CREATE_INDEX__REGION__HELP =
"Name/Path of the region which corresponds to the \"from\" clause in a query.";
public static final String CREATE_INDEX__MEMBER__HELP =
"Name/Id of the member in which the index will be created.";
public static final String CREATE_INDEX__TYPE = "type";
public static final String CREATE_INDEX__TYPE__HELP =
"Type of the index. Valid values are: range and key. Deprecated: Since Geode 1.4, hash should not be used.";
public static final String CREATE_INDEX__GROUP__HELP =
"Group of members in which the index will be created. Value will be ignored when using cluster configuration.";
public static final String CREATE_INDEX__INVALID__INDEX__TYPE__MESSAGE =
"Invalid index type. Value must be either range or key.";
public static final String CREATE_INDEX__SUCCESS__MSG =
"Index successfully created with following details";
public static final String CREATE_INDEX__FAILURE__MSG =
"Failed to create index \"{0}\" due to following reasons";
public static final String CREATE_INDEX__ERROR__MSG =
"Exception \"{0}\" occurred on following members";
public static final String CREATE_INDEX__NAME__CONFLICT =
"Index \"{0}\" already exists. " + "Create failed due to duplicate name.";
public static final String CREATE_INDEX__INDEX__EXISTS =
"Index \"{0}\" already exists. " + "Create failed due to duplicate definition.";
public static final String CREATE_INDEX__INVALID__EXPRESSION =
"Invalid indexed expression : \"{0}\"";
public static final String CREATE_INDEX__INVALID__REGIONPATH = "Region not found : \"{0}\"";
public static final String CREATE_INDEX__NAME__MSG = "Name : {0}";
public static final String CREATE_INDEX__EXPRESSION__MSG = "Expression : {0}";
public static final String CREATE_INDEX__REGIONPATH__MSG = "RegionPath : {0}";
public static final String CREATE_INDEX__TYPE__MSG = "Type : {0}";
public static final String CREATE_INDEX__MEMBER__MSG = "Members which contain the index";
public static final String CREATE_INDEX__NUMBER__AND__MEMBER = "{0}. {1}";
public static final String CREATE_INDEX__EXCEPTION__OCCURRED__ON =
"Occurred on following members";
public static final String CREATE_INDEX__INVALID__INDEX__NAME = "Invalid index name";
public static final String DEFINE_INDEX = "define index";
public static final String DEFINE_INDEX__HELP =
"Define an index that can be used when executing queries.";
public static final String DEFINE_INDEX__SUCCESS__MSG =
"Index successfully defined with following details";
public static final String DEFINE_INDEX__FAILURE__MSG = "No indexes defined";
public static final String DEFINE_INDEX_NAME = CREATE_INDEX__NAME;
public static final String DEFINE_INDEX__EXPRESSION = CREATE_INDEX__EXPRESSION;
public static final String DEFINE_INDEX__EXPRESSION__HELP = CREATE_INDEX__EXPRESSION__HELP;
public static final String DEFINE_INDEX__REGION = CREATE_INDEX__REGION;
public static final String DEFINE_INDEX__REGION__HELP = CREATE_INDEX__REGION__HELP;
public static final String DEFINE_INDEX__TYPE = CREATE_INDEX__TYPE;
public static final String DEFINE_INDEX__TYPE__HELP = CREATE_INDEX__TYPE__HELP;
public static final String DEFINE_INDEX__INVALID__INDEX__TYPE__MESSAGE =
CREATE_INDEX__INVALID__INDEX__TYPE__MESSAGE;
public static final String DEFINE_INDEX__INVALID__INDEX__NAME =
CREATE_INDEX__INVALID__INDEX__NAME;
public static final String DEFINE_INDEX__INVALID__EXPRESSION = CREATE_INDEX__INVALID__EXPRESSION;
public static final String DEFINE_INDEX__INVALID__REGIONPATH = CREATE_INDEX__INVALID__REGIONPATH;
public static final String DEFINE_INDEX__NAME__MSG = CREATE_INDEX__NAME__MSG;
public static final String DEFINE_INDEX__EXPRESSION__MSG = CREATE_INDEX__EXPRESSION__MSG;
public static final String DEFINE_INDEX__REGIONPATH__MSG = CREATE_INDEX__REGIONPATH__MSG;
public static final String CREATE_DEFINED_INDEXES = "create defined indexes";
public static final String CREATE_DEFINED__HELP = "Creates all the defined indexes.";
public static final String CREATE_DEFINED_INDEXES__SUCCESS__MSG =
"Indexes successfully created. Use list indexes to get details.";
public static final String CREATE_DEFINED_INDEXES__FAILURE__MSG =
"Failed to create some or all indexes \"{0}\" due to following reasons";
public static final String CREATE_DEFINED_INDEXES__MEMBER__HELP = CREATE_INDEX__MEMBER__HELP;
public static final String CREATE_DEFINED_INDEXES__GROUP__HELP = CREATE_INDEX__GROUP__HELP;
public static final String CREATE_DEFINED_INDEXES__MEMBER__MSG = CREATE_INDEX__MEMBER__MSG;
public static final String CREATE_DEFINED_INDEXES__NUMBER__AND__MEMBER =
CREATE_INDEX__NUMBER__AND__MEMBER;
public static final String CREATE_DEFINED_INDEXES__EXCEPTION__OCCURRED__ON =
CREATE_INDEX__EXCEPTION__OCCURRED__ON;
public static final String CLEAR_DEFINED_INDEXES = "clear defined indexes";
public static final String CLEAR_DEFINED__HELP = "Clears all the defined indexes.";
public static final String CLEAR_DEFINED_INDEX__SUCCESS__MSG =
"Index definitions successfully cleared";
/* create region */
public static final String CREATE_REGION = "create region";
public static final String CREATE_REGION__HELP =
"Create a region with the given path and configuration. Specifying a --key-constraint and --value-constraint makes object type information available during querying and indexing.";
public static final String CREATE_REGION__REGION = "name";
public static final String CREATE_REGION__REGION__HELP = "Name/Path of the region to be created.";
public static final String CREATE_REGION__REGIONSHORTCUT = "type";
public static final String CREATE_REGION__REGIONSHORTCUT__HELP =
"Type of region to create. The following types are pre-defined by the product (see RegionShortcut javadocs for more information): PARTITION, PARTITION_REDUNDANT, PARTITION_PERSISTENT, PARTITION_REDUNDANT_PERSISTENT, PARTITION_OVERFLOW, PARTITION_REDUNDANT_OVERFLOW, PARTITION_PERSISTENT_OVERFLOW, PARTITION_REDUNDANT_PERSISTENT_OVERFLOW, PARTITION_HEAP_LRU, PARTITION_REDUNDANT_HEAP_LRU, REPLICATE, REPLICATE_PERSISTENT, REPLICATE_OVERFLOW, REPLICATE_PERSISTENT_OVERFLOW, REPLICATE_HEAP_LRU, LOCAL, LOCAL_PERSISTENT, LOCAL_HEAP_LRU, LOCAL_OVERFLOW, LOCAL_PERSISTENT_OVERFLOW, PARTITION_PROXY, PARTITION_PROXY_REDUNDANT, and REPLICATE_PROXY.";
public static final String CREATE_REGION__GROUP__HELP =
"Group(s) of members on which the region will be created.";
public static final String CREATE_REGION__USEATTRIBUTESFROM = "template-region";
public static final String CREATE_REGION__USEATTRIBUTESFROM__HELP =
"Name/Path of the region whose attributes should be duplicated when creating this region. Deprecated: Since Geode 1.5, regions should be created explicitly so that undesirable attributes are not copied inadvertently.";
public static final String CREATE_REGION__SKIPIFEXISTS = "skip-if-exists";
public static final String CREATE_REGION__IFNOTEXISTS__HELP =
"By default, an attempt to create a duplicate region is reported as an error. If this option is specified without a value or is specified with a value of true, then gfsh displays a \"Skipping...\" acknowledgement, but does not throw an error. Deprecated: the alias --skip-if-exists is deprecated since Geode 1.5.";
public static final String CREATE_REGION__KEYCONSTRAINT = "key-constraint";
public static final String CREATE_REGION__KEYCONSTRAINT__HELP =
"Fully qualified class name of the objects allowed as region keys. Ensures that keys for region entries are all of the same class.";
public static final String CREATE_REGION__VALUECONSTRAINT = "value-constraint";
public static final String CREATE_REGION__VALUECONSTRAINT__HELP =
"Fully qualified class name of the objects allowed as region values. If not specified then region values can be of any class.";
public static final String CREATE_REGION__STATISTICSENABLED = "enable-statistics";
public static final String CREATE_REGION__STATISTICSENABLED__HELP =
"Whether to gather statistics for the region. Must be true to use expiration on the region.";
public static final String CREATE_REGION__ENTRYEXPIRATIONIDLETIME = "entry-idle-time-expiration";
public static final String CREATE_REGION__ENTRYEXPIRATIONIDLETIME__HELP =
"How long the region's entries can remain in the cache without being accessed. The default is no expiration of this type.";
public static final String CREATE_REGION__ENTRYEXPIRATIONIDLETIMEACTION =
"entry-idle-time-expiration-action";
public static final String CREATE_REGION__ENTRYEXPIRATIONIDLETIMEACTION__HELP =
"Action to be taken on an entry that has exceeded the idle expiration.";
public static final String CREATE_REGION__ENTRYEXPIRATIONTIMETOLIVE =
"entry-time-to-live-expiration";
public static final String CREATE_REGION__ENTRYEXPIRATIONTIMETOLIVE__HELP =
"How long the region's entries can remain in the cache without being accessed or updated. The default is no expiration of this type.";
public static final String CREATE_REGION__ENTRYEXPIRATIONTTLACTION =
"entry-time-to-live-expiration-action";
public static final String CREATE_REGION__ENTRYEXPIRATIONTTLACTION__HELP =
"Action to be taken on an entry that has exceeded the TTL expiration.";
public static final String CREATE_REGION__REGIONEXPIRATIONIDLETIME =
"region-idle-time-expiration";
public static final String CREATE_REGION__REGIONEXPIRATIONIDLETIME__HELP =
"How long the region can remain in the cache without being accessed. The default is no expiration of this type.";
public static final String CREATE_REGION__REGIONEXPIRATIONIDLETIMEACTION =
"region-idle-time-expiration-action";
public static final String CREATE_REGION__REGIONEXPIRATIONIDLETIMEACTION__HELP =
"Action to be taken on a region that has exceeded the idle expiration.";
public static final String CREATE_REGION__REGIONEXPIRATIONTTL = "region-time-to-live-expiration";
public static final String CREATE_REGION__REGIONEXPIRATIONTTL__HELP =
"How long the region can remain in the cache without being accessed or updated. The default is no expiration of this type.";
public static final String CREATE_REGION__REGIONEXPIRATIONTTLACTION =
"region-time-to-live-expiration-action";
public static final String CREATE_REGION__REGIONEXPIRATIONTTLACTION__HELP =
"Action to be taken on a region that has exceeded the TTL expiration.";
public static final String CREATE_REGION__EVICTION_ACTION = "eviction-action";
public static final String CREATE_REGION__EVICTION_ACTION__HELP =
"The eviction action to apply. Must be either 'local-destroy' or 'overflow-to-disk'";
public static final String CREATE_REGION__EVICTION_MAX_MEMORY = "eviction-max-memory";
public static final String CREATE_REGION__EVICTION_MAX_MEMORY__HELP =
"Activates LRU eviction based on the region's memory usage specified by this value (in megabytes).";
public static final String CREATE_REGION__EVICTION_ENTRY_COUNT = "eviction-entry-count";
public static final String CREATE_REGION__EVICTION_ENTRY_COUNT__HELP =
"Activates LRU eviction based on the region's entry count specified by this value.";
public static final String CREATE_REGION__EVICTION_OBJECT_SIZER = "eviction-object-sizer";
public static final String CREATE_REGION__EVICTION_OBJECT_SIZER__HELP =
"A custom class which implements ObjectSizer in order to perform max memory eviction.";
public static final String CREATE_REGION__DISKSTORE = "disk-store";
public static final String CREATE_REGION__DISKSTORE__HELP =
"Disk Store to be used by this region. \"list disk-store\" can be used to display existing disk stores.";
public static final String CREATE_REGION__DISKSYNCHRONOUS = "enable-synchronous-disk";
public static final String CREATE_REGION__DISKSYNCHRONOUS__HELP =
"Whether writes are done synchronously for regions that persist data to disk.";
public static final String CREATE_REGION__ENABLEASYNCCONFLATION = "enable-async-conflation";
public static final String CREATE_REGION__ENABLEASYNCCONFLATION__HELP =
"Whether to allow aggregation of asynchronous TCP/IP messages sent by the producer member of the region. A false value causes all asynchronous messages to be sent individually.";
public static final String CREATE_REGION__ENABLESUBSCRIPTIONCONFLATION =
"enable-subscription-conflation";
public static final String CREATE_REGION__ENABLESUBSCRIPTIONCONFLATION__HELP =
"Whether the server should conflate its messages to the client. A false value causes all server-client messages to be sent individually.";
public static final String CREATE_REGION__CACHELISTENER = "cache-listener";
public static final String CREATE_REGION__CACHELISTENER__HELP =
"Fully qualified class name of a plug-in to be instantiated for receiving after-event notification of changes to the region and its entries. Append json string for initialization properties. Any number of cache listeners can be configured.";
public static final String CREATE_REGION__CACHELOADER = "cache-loader";
public static final String CREATE_REGION__CACHELOADER__HELP =
"Fully qualified class name of a plug-in to be instantiated for receiving notification of cache misses in the region. Append json string for initialization properties. At most, one cache loader can be defined in each member for the region. For distributed regions, a cache loader may be invoked remotely from other members that have the region defined.";
public static final String CREATE_REGION__CACHEWRITER = "cache-writer";
public static final String CREATE_REGION__CACHEWRITER__HELP =
"Fully qualified class name of a plug-in to be instantiated for receiving before-event notification of changes to the region and its entries. Append json string for initialization properties. The plug-in may cancel the event. At most, one cache writer can be defined in each member for the region.";
public static final String CREATE_REGION__ASYNCEVENTQUEUEID = "async-event-queue-id";
public static final String CREATE_REGION__ASYNCEVENTQUEUEID__HELP =
"IDs of the Async Event Queues that will be used for write-behind operations.";
public static final String CREATE_REGION__GATEWAYSENDERID = "gateway-sender-id";
public static final String CREATE_REGION__GATEWAYSENDERID__HELP =
"IDs of the Gateway Senders to which data will be routed.";
public static final String CREATE_REGION__CONCURRENCYCHECKSENABLED = "enable-concurrency-checks";
public static final String CREATE_REGION__CONCURRENCYCHECKSENABLED__HELP =
"Enables a versioning system that detects concurrent modifications and ensures that region contents are consistent across the distributed system.";
public static final String CREATE_REGION__CLONINGENABLED = "enable-cloning";
public static final String CREATE_REGION__CLONINGENABLED__HELP =
"Determines how fromDelta applies deltas to the local cache for delta propagation. When true, the updates are applied to a clone of the value and then the clone is saved to the cache. When false, the value is modified in place in the cache.";
public static final String CREATE_REGION__CONCURRENCYLEVEL = "concurrency-level";
public static final String CREATE_REGION__CONCURRENCYLEVEL__HELP =
"An estimate of the maximum number of application threads that will concurrently access a region entry at one time. This attribute does not apply to partitioned regions.";
public static final String CREATE_REGION__COLOCATEDWITH = "colocated-with";
public static final String CREATE_REGION__COLOCATEDWITH__HELP =
"Central Region with which this region should be colocated.";
public static final String CREATE_REGION__LOCALMAXMEMORY = "local-max-memory";
public static final String CREATE_REGION__LOCALMAXMEMORY__HELP =
"Sets the maximum amount of memory, in megabytes, to be used by the region in this process. (Default: 90% of available heap)";
public static final String CREATE_REGION__MULTICASTENABLED = "enable-multicast";
public static final String CREATE_REGION__MULTICASTENABLED__HELP =
"Enables multicast messaging on the region. Multicast must also be enabled in the cache distributed system properties. This is primarily useful for replicated regions that are in all servers.";
public static final String CREATE_REGION__RECOVERYDELAY = "recovery-delay";
public static final String CREATE_REGION__RECOVERYDELAY__HELP =
"Sets the delay in milliseconds that existing members will wait before satisfying redundancy after another member crashes. -1 (the default) indicates that redundancy will not be recovered after a failure.";
public static final String CREATE_REGION__REDUNDANTCOPIES = "redundant-copies";
public static final String CREATE_REGION__REDUNDANTCOPIES__HELP =
"Sets the number of extra copies of buckets desired. Extra copies allow for both high availability in the face of VM departure (intended or unintended) and and load balancing read operations. (Allowed values: 0, 1, 2 and 3)";
public static final String CREATE_REGION__STARTUPRECOVERYDDELAY = "startup-recovery-delay";
public static final String CREATE_REGION__STARTUPRECOVERYDDELAY__HELP =
"Sets the delay in milliseconds that new members will wait before satisfying redundancy. -1 indicates that adding new members will not trigger redundancy recovery. The default is to recover redundancy immediately when a new member is added.";
public static final String CREATE_REGION__TOTALMAXMEMORY = "total-max-memory";
public static final String CREATE_REGION__TOTALMAXMEMORY__HELP =
"Sets the maximum amount of memory, in megabytes, to be used by the region in all processes.";
public static final String CREATE_REGION__TOTALNUMBUCKETS = "total-num-buckets";
public static final String CREATE_REGION__TOTALNUMBUCKETS__HELP =
"Sets the total number of hash buckets to be used by the region in all processes. (Default: "
+ PartitionAttributesFactory.GLOBAL_MAX_BUCKETS_DEFAULT + ").";
public static final String CREATE_REGION__MSG__CANNOT_DISABLE_CLONING_WITH_COMPRESSOR =
"Cannot set enable-cloning to false when compressor is provided";
public static final String CREATE_REGION__MSG__SPECIFY_VALID_REGION_PATH =
"Specify a valid " + CliStrings.CREATE_REGION__REGION;