docstring_tokens
sequence | code_tokens
sequence |
---|---|
[
"{"
] | [
"@",
"public",
"@",
"unstable",
"public",
"abstract",
"master",
"key",
"get",
"next",
"master",
"key",
"(",
")",
";"
] |
[
"record",
"and",
"playback",
"stress",
"test"
] | [
"record",
"video",
"and",
"playback",
"(",
"camcorder",
"profile",
"quality",
"1080p",
")",
";"
] |
[
"record",
"and",
"playback",
"stress",
"test"
] | [
"record",
"video",
"and",
"playback",
"(",
"camcorder",
"profile",
"quality",
"720p",
")",
";"
] |
[
"record",
"and",
"playback",
"stress",
"test"
] | [
"record",
"video",
"and",
"playback",
"(",
"camcorder",
"profile",
"quality",
"480p",
")",
";"
] |
[
"for",
"more",
"granular",
"control",
"of",
"video",
"encoding"
] | [
"record",
"video",
"and",
"playback",
"(",
"use",
"test",
"runner",
"profile",
")",
";"
] |
[
"implementations",
"for",
"constant",
"visitor"
] | [] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] | [
"return",
"object",
"get",
"parent",
"object",
"(",
")",
"get",
"container",
"(",
")",
"get",
"table",
"cache",
"(",
")",
"get",
"children",
"cache",
"(",
"(",
"d",
"b",
"2",
"table",
")",
"object",
"get",
"parent",
"object",
"(",
")",
")",
";"
] |
[
"-",
"-",
"-",
"-",
"-",
"-"
] | [
"d",
"b",
"2",
"table",
"column",
"column",
"=",
"new",
"d",
"b",
"2",
"table",
"column",
"(",
"parent",
")",
";",
"column",
"set",
"name",
"(",
"get",
"new",
"column",
"name",
"(",
"monitor",
",",
"context",
",",
"parent",
")",
")",
";",
"return",
"column",
";"
] |
[
"/",
"*",
"if",
"[",
"aop",
"]"
] | [
"final",
"matcher",
"<",
"class",
">",
"class",
"matcher",
"=",
"matchers",
"subclasses",
"of",
"(",
"list",
"class",
")",
";",
"final",
"matcher",
"<",
"object",
">",
"method",
"matcher",
"=",
"matchers",
"any",
"(",
")",
";",
"final",
"org",
"aopalliance",
"intercept",
"method",
"interceptor",
"method",
"interceptor",
"=",
"new",
"org",
"aopalliance",
"intercept",
"method",
"interceptor",
"(",
")",
"{",
"@",
"override",
"public",
"object",
"invoke",
"(",
"org",
"aopalliance",
"intercept",
"method",
"invocation",
"method",
"invocation",
")",
"{",
"return",
"null",
";",
"}",
"}",
";",
"check",
"module",
"(",
"new",
"abstract",
"module",
"(",
")",
"{",
"@",
"override",
"protected",
"void",
"configure",
"(",
")",
"{",
"bind",
"interceptor",
"(",
"class",
"matcher",
",",
"method",
"matcher",
",",
"method",
"interceptor",
")",
";",
"}",
"}",
",",
"new",
"failing",
"element",
"visitor",
"(",
")",
"{",
"@",
"override",
"public",
"void",
"visit",
"(",
"interceptor",
"binding",
"command",
")",
"{",
"assert",
"same",
"(",
"class",
"matcher",
",",
"command",
"get",
"class",
"matcher",
"(",
")",
")",
";",
"assert",
"same",
"(",
"method",
"matcher",
",",
"command",
"get",
"method",
"matcher",
"(",
")",
")",
";",
"assert",
"equals",
"(",
"arrays",
"as",
"list",
"(",
"method",
"interceptor",
")",
",",
"command",
"get",
"interceptors",
"(",
")",
")",
";",
"return",
"null",
";",
"}",
"}",
")",
";"
] |
[
"/",
"*",
"end",
"[",
"aop",
"]"
] | [
"check",
"module",
"(",
"new",
"abstract",
"module",
"(",
")",
"{",
"@",
"override",
"protected",
"void",
"configure",
"(",
")",
"{",
"bind",
"scope",
"(",
"sample",
"annotation",
"class",
",",
"scopes",
"no",
"scope",
")",
";",
"}",
"}",
",",
"new",
"failing",
"element",
"visitor",
"(",
")",
"{",
"@",
"override",
"public",
"void",
"visit",
"(",
"scope",
"binding",
"command",
")",
"{",
"assert",
"same",
"(",
"sample",
"annotation",
"class",
",",
"command",
"get",
"annotation",
"type",
"(",
")",
")",
";",
"assert",
"same",
"(",
"scopes",
"no",
"scope",
",",
"command",
"get",
"scope",
"(",
")",
")",
";",
"return",
"null",
";",
"}",
"}",
")",
";"
] |
[
"business",
"logic",
"tests"
] | [
"final",
"atomic",
"integer",
"a",
"configure",
"count",
"=",
"new",
"atomic",
"integer",
"(",
"0",
")",
";",
"final",
"module",
"a",
"=",
"new",
"abstract",
"module",
"(",
")",
"{",
"@",
"override",
"public",
"void",
"configure",
"(",
")",
"{",
"a",
"configure",
"count",
"increment",
"and",
"get",
"(",
")",
";",
"}",
"}",
";",
"elements",
"get",
"elements",
"(",
"a",
",",
"a",
")",
";",
"assert",
"equals",
"(",
"1",
",",
"a",
"configure",
"count",
"get",
"(",
")",
")",
";",
"a",
"configure",
"count",
"set",
"(",
"0",
")",
";",
"module",
"b",
"=",
"new",
"abstract",
"module",
"(",
")",
"{",
"@",
"override",
"protected",
"void",
"configure",
"(",
")",
"{",
"install",
"(",
"a",
")",
";",
"install",
"(",
"a",
")",
";",
"}",
"}",
";",
"elements",
"get",
"elements",
"(",
"b",
")",
";",
"assert",
"equals",
"(",
"1",
",",
"a",
"configure",
"count",
"get",
"(",
")",
")",
";"
] |
[
"ensures",
"the",
"module",
"performs",
"the",
"commands",
"consistent",
"with",
"{"
] | [
"list",
"<",
"element",
">",
"elements",
"=",
"elements",
"get",
"elements",
"(",
"module",
")",
";",
"assert",
"equals",
"(",
"elements",
"size",
"(",
")",
",",
"visitors",
"length",
")",
";",
"check",
"elements",
"(",
"elements",
",",
"visitors",
")",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"snapshot",
"to",
"be",
"deleted",
"<",
"/",
"p",
">"
] | [
"this",
"snapshot",
"name",
"=",
"snapshot",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"snapshot",
"to",
"be",
"deleted",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"snapshot",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"a",
"snapshot",
"for",
"an",
"automatic",
"snapshot",
"the",
"name",
"is",
"system",
"-",
"generated",
"for",
"a",
"manual",
"snapshot",
"this",
"is",
"the",
"user",
"-",
"provided",
"name",
"<",
"/",
"p",
">"
] | [
"set",
"snapshot",
"name",
"(",
"snapshot",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"identifier",
"of",
"the",
"replication",
"group",
"to",
"modify",
"<",
"/",
"p",
">"
] | [
"this",
"replication",
"group",
"id",
"=",
"replication",
"group",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"identifier",
"of",
"the",
"replication",
"group",
"to",
"modify",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"replication",
"group",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"unique",
"identifier",
"of",
"the",
"source",
"replication",
"group",
"<",
"/",
"p",
">"
] | [
"set",
"replication",
"group",
"id",
"(",
"replication",
"group",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"description",
"for",
"the",
"replication",
"group",
"maximum",
"length",
"is",
"255",
"characters",
"<",
"/",
"p",
">"
] | [
"this",
"replication",
"group",
"description",
"=",
"replication",
"group",
"description",
";"
] |
[
"<",
"p",
">",
"a",
"description",
"for",
"the",
"replication",
"group",
"maximum",
"length",
"is",
"255",
"characters",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"replication",
"group",
"description",
";"
] |
[
"<",
"p",
">",
"a",
"description",
"of",
"the",
"source",
"replication",
"group",
"<",
"/",
"p",
">"
] | [
"set",
"replication",
"group",
"description",
"(",
"replication",
"group",
"description",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"cluster",
"identifier",
"for",
"the",
"cluster",
"to",
"be",
"deleted",
"this",
"parameter",
"is",
"not",
"case",
"sensitive",
"<",
"/",
"p",
">"
] | [
"this",
"cache",
"cluster",
"id",
"=",
"cache",
"cluster",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"cluster",
"identifier",
"for",
"the",
"cluster",
"to",
"be",
"deleted",
"this",
"parameter",
"is",
"not",
"case",
"sensitive",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"cache",
"cluster",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"user",
"-",
"supplied",
"identifier",
"of",
"the",
"source",
"cluster",
"<",
"/",
"p",
">"
] | [
"set",
"cache",
"cluster",
"id",
"(",
"cache",
"cluster",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"status",
"of",
"the",
"snapshot",
"valid",
"values",
":",
"<",
"code",
">",
"creating",
"<",
"/",
"code",
">",
"|",
"<",
"code",
">",
"available",
"<",
"/",
"code",
">",
"|",
"<",
"code",
">",
"restoring",
"<",
"/",
"code",
">",
"|",
"<",
"code",
">",
"copying",
"<",
"/",
"code",
">",
"|",
"<",
"code",
">",
"deleting",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"this",
"snapshot",
"status",
"=",
"snapshot",
"status",
";"
] |
[
"<",
"p",
">",
"the",
"status",
"of",
"the",
"snapshot",
"valid",
"values",
":",
"<",
"code",
">",
"creating",
"<",
"/",
"code",
">",
"|",
"<",
"code",
">",
"available",
"<",
"/",
"code",
">",
"|",
"<",
"code",
">",
"restoring",
"<",
"/",
"code",
">",
"|",
"<",
"code",
">",
"copying",
"<",
"/",
"code",
">",
"|",
"<",
"code",
">",
"deleting",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"snapshot",
"status",
";"
] |
[
"<",
"p",
">",
"the",
"status",
"of",
"the",
"snapshot",
"valid",
"values",
":",
"<",
"code",
">",
"creating",
"<",
"/",
"code",
">",
"|",
"<",
"code",
">",
"available",
"<",
"/",
"code",
">",
"|",
"<",
"code",
">",
"restoring",
"<",
"/",
"code",
">",
"|",
"<",
"code",
">",
"copying",
"<",
"/",
"code",
">",
"|",
"<",
"code",
">",
"deleting",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"set",
"snapshot",
"status",
"(",
"snapshot",
"status",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"if",
"set",
"to",
"<",
"code",
">",
"system",
"<",
"/",
"code",
">",
"the",
"output",
"shows",
"snapshots",
"that",
"were",
"automatically",
"created",
"by",
"elasti",
"cache",
"if",
"set",
"to",
"<",
"code",
">",
"user",
"<",
"/",
"code",
">",
"the",
"output",
"shows",
"snapshots",
"that",
"were",
"manually",
"created",
"if",
"omitted",
"the",
"output",
"shows",
"both",
"automatically",
"and",
"manually",
"created",
"snapshots",
"<",
"/",
"p",
">"
] | [
"this",
"snapshot",
"source",
"=",
"snapshot",
"source",
";"
] |
[
"<",
"p",
">",
"if",
"set",
"to",
"<",
"code",
">",
"system",
"<",
"/",
"code",
">",
"the",
"output",
"shows",
"snapshots",
"that",
"were",
"automatically",
"created",
"by",
"elasti",
"cache",
"if",
"set",
"to",
"<",
"code",
">",
"user",
"<",
"/",
"code",
">",
"the",
"output",
"shows",
"snapshots",
"that",
"were",
"manually",
"created",
"if",
"omitted",
"the",
"output",
"shows",
"both",
"automatically",
"and",
"manually",
"created",
"snapshots",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"snapshot",
"source",
";"
] |
[
"<",
"p",
">",
"indicates",
"whether",
"the",
"snapshot",
"is",
"from",
"an",
"automatic",
"backup",
"(",
"<",
"code",
">",
"automated",
"<",
"/",
"code",
">",
")",
"or",
"was",
"created",
"manually",
"(",
"<",
"code",
">",
"manual",
"<",
"/",
"code",
">",
")",
"<",
"/",
"p",
">"
] | [
"set",
"snapshot",
"source",
"(",
"snapshot",
"source",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"valid",
"cache",
"node",
"type",
"that",
"you",
"want",
"to",
"scale",
"this",
"cluster",
"up",
"to",
"<",
"/",
"p",
">"
] | [
"this",
"cache",
"node",
"type",
"=",
"cache",
"node",
"type",
";"
] |
[
"<",
"p",
">",
"a",
"valid",
"cache",
"node",
"type",
"that",
"you",
"want",
"to",
"scale",
"this",
"cluster",
"up",
"to",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"cache",
"node",
"type",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"compute",
"and",
"memory",
"capacity",
"node",
"type",
"for",
"the",
"source",
"cluster",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"following",
"node",
"types",
"are",
"supported",
"by",
"elasti",
"cache",
"generally",
"speaking",
"the",
"current",
"generation",
"types",
"provide",
"more",
"memory",
"and",
"computational",
"power",
"at",
"lower",
"cost",
"when",
"compared",
"to",
"their",
"equivalent",
"previous",
"generation",
"counterparts",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"general",
"purpose",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"current",
"generation",
":",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"t2",
"node",
"types",
":",
"<",
"/",
"b",
">",
"<",
"code",
">",
"cache",
"t",
"2",
"micro",
"<",
"/",
"code",
">",
"<",
"code",
">",
"cache",
"t",
"2",
"small",
"<",
"/",
"code",
">",
"<",
"code",
">",
"cache",
"t",
"2",
"medium",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"m3",
"node",
"types",
":",
"<",
"/",
"b",
">",
"<",
"code",
">",
"cache",
"m",
"3",
"medium",
"<",
"/",
"code",
">",
"<",
"code",
">",
"cache",
"m",
"3",
"large",
"<",
"/",
"code",
">",
"<",
"code",
">",
"cache",
"m",
"3",
"xlarge",
"<",
"/",
"code",
">",
"<",
"code",
">",
"cache",
"m",
"3",
"2xlarge",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"m4",
"node",
"types",
":",
"<",
"/",
"b",
">",
"<",
"code",
">",
"cache",
"m",
"4",
"large",
"<",
"/",
"code",
">",
"<",
"code",
">",
"cache",
"m",
"4",
"xlarge",
"<",
"/",
"code",
">",
"<",
"code",
">",
"cache",
"m",
"4",
"2xlarge",
"<",
"/",
"code",
">",
"<",
"code",
">",
"cache",
"m",
"4",
"4xlarge",
"<",
"/",
"code",
">",
"<",
"code",
">",
"cache",
"m",
"4",
"1",
"0xlarge",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"previous",
"generation",
":",
"(",
"not",
"recommended",
")",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"t1",
"node",
"types",
":",
"<",
"/",
"b",
">",
"<",
"code",
">",
"cache",
"t",
"1",
"micro",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"m1",
"node",
"types",
":",
"<",
"/",
"b",
">",
"<",
"code",
">",
"cache",
"m",
"1",
"small",
"<",
"/",
"code",
">",
"<",
"code",
">",
"cache",
"m",
"1",
"medium",
"<",
"/",
"code",
">",
"<",
"code",
">",
"cache",
"m",
"1",
"large",
"<",
"/",
"code",
">",
"<",
"code",
">",
"cache",
"m",
"1",
"xlarge",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"compute",
"optimized",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"previous",
"generation",
":",
"(",
"not",
"recommended",
")",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"c1",
"node",
"types",
":",
"<",
"/",
"b",
">",
"<",
"code",
">",
"cache",
"c",
"1",
"xlarge",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"memory",
"optimized",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"current",
"generation",
":",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"r3",
"node",
"types",
":",
"<",
"/",
"b",
">",
"<",
"code",
">",
"cache",
"r",
"3",
"large",
"<",
"/",
"code",
">",
"<",
"code",
">",
"cache",
"r",
"3",
"xlarge",
"<",
"/",
"code",
">",
"<",
"code",
">",
"cache",
"r",
"3",
"2xlarge",
"<",
"/",
"code",
">",
"<",
"code",
">",
"cache",
"r",
"3",
"4xlarge",
"<",
"/",
"code",
">",
"<",
"code",
">",
"cache",
"r",
"3",
"8xlarge",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"r4",
"node",
"types",
";",
"<",
"/",
"b",
">",
"<",
"code",
">",
"cache",
"r",
"4",
"large",
"<",
"/",
"code",
">",
"<",
"code",
">",
"cache",
"r",
"4",
"xlarge",
"<",
"/",
"code",
">",
"<",
"code",
">",
"cache",
"r",
"4",
"2xlarge",
"<",
"/",
"code",
">",
"<",
"code",
">",
"cache",
"r",
"4",
"4xlarge",
"<",
"/",
"code",
">",
"<",
"code",
">",
"cache",
"r",
"4",
"8xlarge",
"<",
"/",
"code",
">",
"<",
"code",
">",
"cache",
"r",
"4",
"1",
"6xlarge",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"previous",
"generation",
":",
"(",
"not",
"recommended",
")",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"m2",
"node",
"types",
":",
"<",
"/",
"b",
">",
"<",
"code",
">",
"cache",
"m",
"2",
"xlarge",
"<",
"/",
"code",
">",
"<",
"code",
">",
"cache",
"m",
"2",
"2xlarge",
"<",
"/",
"code",
">",
"<",
"code",
">",
"cache",
"m",
"2",
"4xlarge",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">",
"<",
"p",
">",
"<",
"b",
">",
"notes",
":",
"<",
"/",
"b",
">",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"all",
"t2",
"instances",
"are",
"created",
"in",
"an",
"amazon",
"virtual",
"private",
"cloud",
"(",
"amazon",
"vpc",
")",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"redis",
"(",
"cluster",
"mode",
"disabled",
")",
":",
"redis",
"backup",
"/",
"restore",
"is",
"not",
"supported",
"on",
"t1",
"and",
"t2",
"instances",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"redis",
"(",
"cluster",
"mode",
"enabled",
")",
":",
"backup",
"/",
"restore",
"is",
"not",
"supported",
"on",
"t1",
"instances",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"redis",
"append",
"-",
"only",
"files",
"(",
"aof",
")",
"functionality",
"is",
"not",
"supported",
"for",
"t1",
"or",
"t2",
"instances",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">",
"<",
"p",
">",
"for",
"a",
"complete",
"listing",
"of",
"node",
"types",
"and",
"specifications",
"see",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"aws",
"amazon",
"com",
"/",
"elasticache",
"/",
"details",
">",
"amazon",
"elasti",
"cache",
"product",
"features",
"and",
"details",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"amazon",
"elasti",
"cache",
"/",
"latest",
"/",
"mem",
"-",
"ug",
"/",
"parameter",
"groups",
"memcached",
"html",
"#",
"parameter",
"groups",
"memcached",
"node",
"specific",
">",
"cache",
"node",
"type",
"-",
"specific",
"parameters",
"for",
"memcached",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"amazon",
"elasti",
"cache",
"/",
"latest",
"/",
"red",
"-",
"ug",
"/",
"parameter",
"groups",
"redis",
"html",
"#",
"parameter",
"groups",
"redis",
"node",
"specific",
">",
"cache",
"node",
"type",
"-",
"specific",
"parameters",
"for",
"redis",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">"
] | [
"set",
"cache",
"node",
"type",
"(",
"cache",
"node",
"type",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"database",
"engine",
"to",
"be",
"used",
"for",
"this",
"instance",
"<",
"/",
"p",
">",
"<",
"p",
">",
"valid",
"values",
":",
"<",
"code",
">",
"neptune",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"this",
"engine",
"=",
"engine",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"database",
"engine",
"to",
"be",
"used",
"for",
"this",
"instance",
"<",
"/",
"p",
">",
"<",
"p",
">",
"valid",
"values",
":",
"<",
"code",
">",
"neptune",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"engine",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"cache",
"engine",
"(",
"<",
"code",
">",
"memcached",
"<",
"/",
"code",
">",
"or",
"<",
"code",
">",
"redis",
"<",
"/",
"code",
">",
")",
"used",
"by",
"the",
"source",
"cluster",
"<",
"/",
"p",
">"
] | [
"set",
"engine",
"(",
"engine",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"upgraded",
"version",
"of",
"the",
"cache",
"engine",
"to",
"be",
"run",
"on",
"the",
"cache",
"nodes",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"important",
":",
"<",
"/",
"b",
">",
"you",
"can",
"upgrade",
"to",
"a",
"newer",
"engine",
"version",
"(",
"see",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"amazon",
"elasti",
"cache",
"/",
"latest",
"/",
"red",
"-",
"ug",
"/",
"select",
"engine",
"html",
"#",
"version",
"management",
">",
"selecting",
"a",
"cache",
"engine",
"and",
"version",
"<",
"/",
"a",
">",
")",
"but",
"you",
"cannot",
"downgrade",
"to",
"an",
"earlier",
"engine",
"version",
"if",
"you",
"want",
"to",
"use",
"an",
"earlier",
"engine",
"version",
"you",
"must",
"delete",
"the",
"existing",
"cluster",
"and",
"create",
"it",
"anew",
"with",
"the",
"earlier",
"engine",
"version",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"engine",
"version",
";"
] |
[
"<",
"p",
">",
"the",
"version",
"of",
"the",
"cache",
"engine",
"version",
"that",
"is",
"used",
"by",
"the",
"source",
"cluster",
"<",
"/",
"p",
">"
] | [
"set",
"engine",
"version",
"(",
"engine",
"version",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"number",
"of",
"cache",
"nodes",
"that",
"the",
"cluster",
"should",
"have",
"if",
"the",
"value",
"for",
"<",
"code",
">",
"num",
"cache",
"nodes",
"<",
"/",
"code",
">",
"is",
"greater",
"than",
"the",
"sum",
"of",
"the",
"number",
"of",
"current",
"cache",
"nodes",
"and",
"the",
"number",
"of",
"cache",
"nodes",
"pending",
"creation",
"(",
"which",
"may",
"be",
"zero",
")",
"more",
"nodes",
"are",
"added",
"if",
"the",
"value",
"is",
"less",
"than",
"the",
"number",
"of",
"existing",
"cache",
"nodes",
"nodes",
"are",
"removed",
"if",
"the",
"value",
"is",
"equal",
"to",
"the",
"number",
"of",
"current",
"cache",
"nodes",
"any",
"pending",
"add",
"or",
"remove",
"requests",
"are",
"canceled",
"<",
"/",
"p",
">",
"<",
"p",
">",
"if",
"you",
"are",
"removing",
"cache",
"nodes",
"you",
"must",
"use",
"the",
"<",
"code",
">",
"cache",
"node",
"ids",
"to",
"remove",
"<",
"/",
"code",
">",
"parameter",
"to",
"provide",
"the",
"i",
"ds",
"of",
"the",
"specific",
"cache",
"nodes",
"to",
"remove",
"<",
"/",
"p",
">",
"<",
"p",
">",
"for",
"clusters",
"running",
"redis",
"this",
"value",
"must",
"be",
"1",
"for",
"clusters",
"running",
"memcached",
"this",
"value",
"must",
"be",
"between",
"1",
"and",
"20",
"<",
"/",
"p",
">",
"<",
"note",
">",
"<",
"p",
">",
"adding",
"or",
"removing",
"memcached",
"cache",
"nodes",
"can",
"be",
"applied",
"immediately",
"or",
"as",
"a",
"pending",
"operation",
"(",
"see",
"<",
"code",
">",
"apply",
"immediately",
"<",
"/",
"code",
">",
")",
"<",
"/",
"p",
">",
"<",
"p",
">",
"a",
"pending",
"operation",
"to",
"modify",
"the",
"number",
"of",
"cache",
"nodes",
"in",
"a",
"cluster",
"during",
"its",
"maintenance",
"window",
"whether",
"by",
"adding",
"or",
"removing",
"nodes",
"in",
"accordance",
"with",
"the",
"scale",
"out",
"architecture",
"is",
"not",
"queued",
"the",
"customer",
"s",
"latest",
"request",
"to",
"add",
"or",
"remove",
"nodes",
"to",
"the",
"cluster",
"overrides",
"any",
"previous",
"pending",
"operations",
"to",
"modify",
"the",
"number",
"of",
"cache",
"nodes",
"in",
"the",
"cluster",
"for",
"example",
"a",
"request",
"to",
"remove",
"2",
"nodes",
"would",
"override",
"a",
"previous",
"pending",
"operation",
"to",
"remove",
"3",
"nodes",
"similarly",
"a",
"request",
"to",
"add",
"2",
"nodes",
"would",
"override",
"a",
"previous",
"pending",
"operation",
"to",
"remove",
"3",
"nodes",
"and",
"vice",
"versa",
"as",
"memcached",
"cache",
"nodes",
"may",
"now",
"be",
"provisioned",
"in",
"different",
"availability",
"zones",
"with",
"flexible",
"cache",
"node",
"placement",
"a",
"request",
"to",
"add",
"nodes",
"does",
"not",
"automatically",
"override",
"a",
"previous",
"pending",
"operation",
"to",
"add",
"nodes",
"the",
"customer",
"can",
"modify",
"the",
"previous",
"pending",
"operation",
"to",
"add",
"more",
"nodes",
"or",
"explicitly",
"cancel",
"the",
"pending",
"request",
"and",
"retry",
"the",
"new",
"request",
"to",
"cancel",
"pending",
"operations",
"to",
"modify",
"the",
"number",
"of",
"cache",
"nodes",
"in",
"a",
"cluster",
"use",
"the",
"<",
"code",
">",
"modify",
"cache",
"cluster",
"<",
"/",
"code",
">",
"request",
"and",
"set",
"<",
"code",
">",
"num",
"cache",
"nodes",
"<",
"/",
"code",
">",
"equal",
"to",
"the",
"number",
"of",
"cache",
"nodes",
"currently",
"in",
"the",
"cluster",
"<",
"/",
"p",
">",
"<",
"/",
"note",
">"
] | [
"this",
"num",
"cache",
"nodes",
"=",
"num",
"cache",
"nodes",
";"
] |
[
"<",
"p",
">",
"the",
"number",
"of",
"cache",
"nodes",
"that",
"the",
"cluster",
"should",
"have",
"if",
"the",
"value",
"for",
"<",
"code",
">",
"num",
"cache",
"nodes",
"<",
"/",
"code",
">",
"is",
"greater",
"than",
"the",
"sum",
"of",
"the",
"number",
"of",
"current",
"cache",
"nodes",
"and",
"the",
"number",
"of",
"cache",
"nodes",
"pending",
"creation",
"(",
"which",
"may",
"be",
"zero",
")",
"more",
"nodes",
"are",
"added",
"if",
"the",
"value",
"is",
"less",
"than",
"the",
"number",
"of",
"existing",
"cache",
"nodes",
"nodes",
"are",
"removed",
"if",
"the",
"value",
"is",
"equal",
"to",
"the",
"number",
"of",
"current",
"cache",
"nodes",
"any",
"pending",
"add",
"or",
"remove",
"requests",
"are",
"canceled",
"<",
"/",
"p",
">",
"<",
"p",
">",
"if",
"you",
"are",
"removing",
"cache",
"nodes",
"you",
"must",
"use",
"the",
"<",
"code",
">",
"cache",
"node",
"ids",
"to",
"remove",
"<",
"/",
"code",
">",
"parameter",
"to",
"provide",
"the",
"i",
"ds",
"of",
"the",
"specific",
"cache",
"nodes",
"to",
"remove",
"<",
"/",
"p",
">",
"<",
"p",
">",
"for",
"clusters",
"running",
"redis",
"this",
"value",
"must",
"be",
"1",
"for",
"clusters",
"running",
"memcached",
"this",
"value",
"must",
"be",
"between",
"1",
"and",
"20",
"<",
"/",
"p",
">",
"<",
"note",
">",
"<",
"p",
">",
"adding",
"or",
"removing",
"memcached",
"cache",
"nodes",
"can",
"be",
"applied",
"immediately",
"or",
"as",
"a",
"pending",
"operation",
"(",
"see",
"<",
"code",
">",
"apply",
"immediately",
"<",
"/",
"code",
">",
")",
"<",
"/",
"p",
">",
"<",
"p",
">",
"a",
"pending",
"operation",
"to",
"modify",
"the",
"number",
"of",
"cache",
"nodes",
"in",
"a",
"cluster",
"during",
"its",
"maintenance",
"window",
"whether",
"by",
"adding",
"or",
"removing",
"nodes",
"in",
"accordance",
"with",
"the",
"scale",
"out",
"architecture",
"is",
"not",
"queued",
"the",
"customer",
"s",
"latest",
"request",
"to",
"add",
"or",
"remove",
"nodes",
"to",
"the",
"cluster",
"overrides",
"any",
"previous",
"pending",
"operations",
"to",
"modify",
"the",
"number",
"of",
"cache",
"nodes",
"in",
"the",
"cluster",
"for",
"example",
"a",
"request",
"to",
"remove",
"2",
"nodes",
"would",
"override",
"a",
"previous",
"pending",
"operation",
"to",
"remove",
"3",
"nodes",
"similarly",
"a",
"request",
"to",
"add",
"2",
"nodes",
"would",
"override",
"a",
"previous",
"pending",
"operation",
"to",
"remove",
"3",
"nodes",
"and",
"vice",
"versa",
"as",
"memcached",
"cache",
"nodes",
"may",
"now",
"be",
"provisioned",
"in",
"different",
"availability",
"zones",
"with",
"flexible",
"cache",
"node",
"placement",
"a",
"request",
"to",
"add",
"nodes",
"does",
"not",
"automatically",
"override",
"a",
"previous",
"pending",
"operation",
"to",
"add",
"nodes",
"the",
"customer",
"can",
"modify",
"the",
"previous",
"pending",
"operation",
"to",
"add",
"more",
"nodes",
"or",
"explicitly",
"cancel",
"the",
"pending",
"request",
"and",
"retry",
"the",
"new",
"request",
"to",
"cancel",
"pending",
"operations",
"to",
"modify",
"the",
"number",
"of",
"cache",
"nodes",
"in",
"a",
"cluster",
"use",
"the",
"<",
"code",
">",
"modify",
"cache",
"cluster",
"<",
"/",
"code",
">",
"request",
"and",
"set",
"<",
"code",
">",
"num",
"cache",
"nodes",
"<",
"/",
"code",
">",
"equal",
"to",
"the",
"number",
"of",
"cache",
"nodes",
"currently",
"in",
"the",
"cluster",
"<",
"/",
"p",
">",
"<",
"/",
"note",
">"
] | [
"return",
"this",
"num",
"cache",
"nodes",
";"
] |
[
"<",
"p",
">",
"the",
"number",
"of",
"cache",
"nodes",
"in",
"the",
"source",
"cluster",
"<",
"/",
"p",
">",
"<",
"p",
">",
"for",
"clusters",
"running",
"redis",
"this",
"value",
"must",
"be",
"1",
"for",
"clusters",
"running",
"memcached",
"this",
"value",
"must",
"be",
"between",
"1",
"and",
"20",
"<",
"/",
"p",
">"
] | [
"set",
"num",
"cache",
"nodes",
"(",
"num",
"cache",
"nodes",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"ec2",
"availability",
"zone",
"in",
"which",
"the",
"cluster",
"is",
"created",
"<",
"/",
"p",
">",
"<",
"p",
">",
"all",
"nodes",
"belonging",
"to",
"this",
"memcached",
"cluster",
"are",
"placed",
"in",
"the",
"preferred",
"availability",
"zone",
"if",
"you",
"want",
"to",
"create",
"your",
"nodes",
"across",
"multiple",
"availability",
"zones",
"use",
"<",
"code",
">",
"preferred",
"availability",
"zones",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"default",
":",
"system",
"chosen",
"availability",
"zone",
"<",
"/",
"p",
">"
] | [
"this",
"preferred",
"availability",
"zone",
"=",
"preferred",
"availability",
"zone",
";"
] |
[
"<",
"p",
">",
"the",
"ec2",
"availability",
"zone",
"in",
"which",
"the",
"cluster",
"is",
"created",
"<",
"/",
"p",
">",
"<",
"p",
">",
"all",
"nodes",
"belonging",
"to",
"this",
"memcached",
"cluster",
"are",
"placed",
"in",
"the",
"preferred",
"availability",
"zone",
"if",
"you",
"want",
"to",
"create",
"your",
"nodes",
"across",
"multiple",
"availability",
"zones",
"use",
"<",
"code",
">",
"preferred",
"availability",
"zones",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"default",
":",
"system",
"chosen",
"availability",
"zone",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"preferred",
"availability",
"zone",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"availability",
"zone",
"in",
"which",
"the",
"source",
"cluster",
"is",
"located",
"<",
"/",
"p",
">"
] | [
"set",
"preferred",
"availability",
"zone",
"(",
"preferred",
"availability",
"zone",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"date",
"and",
"time",
"when",
"the",
"cluster",
"was",
"created",
"<",
"/",
"p",
">"
] | [
"this",
"cache",
"cluster",
"create",
"time",
"=",
"cache",
"cluster",
"create",
"time",
";"
] |
[
"<",
"p",
">",
"the",
"date",
"and",
"time",
"when",
"the",
"cluster",
"was",
"created",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"cache",
"cluster",
"create",
"time",
";"
] |
[
"<",
"p",
">",
"the",
"date",
"and",
"time",
"when",
"the",
"source",
"cluster",
"was",
"created",
"<",
"/",
"p",
">"
] | [
"set",
"cache",
"cluster",
"create",
"time",
"(",
"cache",
"cluster",
"create",
"time",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"specifies",
"the",
"weekly",
"time",
"range",
"during",
"which",
"maintenance",
"on",
"the",
"cluster",
"is",
"performed",
"it",
"is",
"specified",
"as",
"a",
"range",
"in",
"the",
"format",
"ddd",
":",
"hh",
"2",
"4",
":",
"mi",
"-",
"ddd",
":",
"hh",
"2",
"4",
":",
"mi",
"(",
"24h",
"clock",
"utc",
")",
"the",
"minimum",
"maintenance",
"window",
"is",
"a",
"60",
"minute",
"period",
"<",
"/",
"p",
">",
"<",
"p",
">",
"valid",
"values",
"for",
"<",
"code",
">",
"ddd",
"<",
"/",
"code",
">",
"are",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"sun",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"mon",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"tue",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"wed",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"thu",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"fri",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"sat",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">",
"<",
"p",
">",
"example",
":",
"<",
"code",
">",
"sun",
":",
"23",
":",
"00",
"-",
"mon",
":",
"01",
":",
"30",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"this",
"preferred",
"maintenance",
"window",
"=",
"preferred",
"maintenance",
"window",
";"
] |
[
"<",
"p",
">",
"specifies",
"the",
"weekly",
"time",
"range",
"during",
"which",
"maintenance",
"on",
"the",
"cluster",
"is",
"performed",
"it",
"is",
"specified",
"as",
"a",
"range",
"in",
"the",
"format",
"ddd",
":",
"hh",
"2",
"4",
":",
"mi",
"-",
"ddd",
":",
"hh",
"2",
"4",
":",
"mi",
"(",
"24h",
"clock",
"utc",
")",
"the",
"minimum",
"maintenance",
"window",
"is",
"a",
"60",
"minute",
"period",
"<",
"/",
"p",
">",
"<",
"p",
">",
"valid",
"values",
"for",
"<",
"code",
">",
"ddd",
"<",
"/",
"code",
">",
"are",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"sun",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"mon",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"tue",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"wed",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"thu",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"fri",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"sat",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">",
"<",
"p",
">",
"example",
":",
"<",
"code",
">",
"sun",
":",
"23",
":",
"00",
"-",
"mon",
":",
"01",
":",
"30",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"preferred",
"maintenance",
"window",
";"
] |
[
"<",
"p",
">",
"specifies",
"the",
"weekly",
"time",
"range",
"during",
"which",
"maintenance",
"on",
"the",
"cluster",
"is",
"performed",
"it",
"is",
"specified",
"as",
"a",
"range",
"in",
"the",
"format",
"ddd",
":",
"hh",
"2",
"4",
":",
"mi",
"-",
"ddd",
":",
"hh",
"2",
"4",
":",
"mi",
"(",
"24h",
"clock",
"utc",
")",
"the",
"minimum",
"maintenance",
"window",
"is",
"a",
"60",
"minute",
"period",
"<",
"/",
"p",
">",
"<",
"p",
">",
"valid",
"values",
"for",
"<",
"code",
">",
"ddd",
"<",
"/",
"code",
">",
"are",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"sun",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"mon",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"tue",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"wed",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"thu",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"fri",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"sat",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">",
"<",
"p",
">",
"example",
":",
"<",
"code",
">",
"sun",
":",
"23",
":",
"00",
"-",
"mon",
":",
"01",
":",
"30",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"set",
"preferred",
"maintenance",
"window",
"(",
"preferred",
"maintenance",
"window",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"arn",
"of",
"the",
"sns",
"topic",
"to",
"which",
"the",
"sns",
"notifications",
"are",
"sent",
"<",
"/",
"p",
">"
] | [
"this",
"topic",
"arn",
"=",
"topic",
"arn",
";"
] |
[
"<",
"p",
">",
"the",
"arn",
"of",
"the",
"sns",
"topic",
"to",
"which",
"the",
"sns",
"notifications",
"are",
"sent",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"topic",
"arn",
";"
] |
[
"<",
"p",
">",
"the",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"for",
"the",
"topic",
"used",
"by",
"the",
"source",
"cluster",
"for",
"publishing",
"notifications",
"<",
"/",
"p",
">"
] | [
"set",
"topic",
"arn",
"(",
"topic",
"arn",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"port",
"number",
"on",
"which",
"the",
"database",
"accepts",
"connections",
"<",
"/",
"p",
">",
"<",
"p",
">",
"not",
"applicable",
"the",
"port",
"is",
"managed",
"by",
"the",
"db",
"cluster",
"for",
"more",
"information",
"see",
"<",
"a",
">",
"create",
"d",
"b",
"cluster",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"default",
":",
"<",
"code",
">",
"8182",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"type",
":",
"integer",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"port",
";"
] |
[
"<",
"p",
">",
"the",
"port",
"that",
"the",
"cluster",
"is",
"listening",
"on",
"<",
"/",
"p",
">"
] | [
"set",
"port",
"(",
"port",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"cache",
"parameter",
"group",
"to",
"apply",
"to",
"this",
"cluster",
"this",
"change",
"is",
"asynchronously",
"applied",
"as",
"soon",
"as",
"possible",
"for",
"parameters",
"when",
"the",
"<",
"code",
">",
"apply",
"immediately",
"<",
"/",
"code",
">",
"parameter",
"is",
"specified",
"as",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"for",
"this",
"request",
"<",
"/",
"p",
">"
] | [
"this",
"cache",
"parameter",
"group",
"name",
"=",
"cache",
"parameter",
"group",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"cache",
"parameter",
"group",
"to",
"apply",
"to",
"this",
"cluster",
"this",
"change",
"is",
"asynchronously",
"applied",
"as",
"soon",
"as",
"possible",
"for",
"parameters",
"when",
"the",
"<",
"code",
">",
"apply",
"immediately",
"<",
"/",
"code",
">",
"parameter",
"is",
"specified",
"as",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"for",
"this",
"request",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"cache",
"parameter",
"group",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"cache",
"parameter",
"group",
"that",
"is",
"associated",
"with",
"the",
"source",
"cluster",
"<",
"/",
"p",
">"
] | [
"set",
"cache",
"parameter",
"group",
"name",
"(",
"cache",
"parameter",
"group",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"cache",
"subnet",
"group",
"to",
"delete",
"<",
"/",
"p",
">",
"<",
"p",
">",
"constraints",
":",
"must",
"contain",
"no",
"more",
"than",
"255",
"alphanumeric",
"characters",
"or",
"hyphens",
"<",
"/",
"p",
">"
] | [
"this",
"cache",
"subnet",
"group",
"name",
"=",
"cache",
"subnet",
"group",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"cache",
"subnet",
"group",
"to",
"delete",
"<",
"/",
"p",
">",
"<",
"p",
">",
"constraints",
":",
"must",
"contain",
"no",
"more",
"than",
"255",
"alphanumeric",
"characters",
"or",
"hyphens",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"cache",
"subnet",
"group",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"cache",
"subnet",
"group",
"associated",
"with",
"the",
"source",
"cluster",
"<",
"/",
"p",
">"
] | [
"set",
"cache",
"subnet",
"group",
"name",
"(",
"cache",
"subnet",
"group",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"vpc",
"<",
"/",
"p",
">"
] | [
"this",
"vpc",
"id",
"=",
"vpc",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"vpc",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"vpc",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"vpc",
"identifier",
"of",
"the",
"cluster",
"if",
"the",
"snapshot",
"is",
"from",
"a",
"cluster",
"in",
"a",
"vpc",
"otherwise",
"this",
"field",
"is",
"not",
"in",
"the",
"output",
"<",
"/",
"p",
">"
] | [
"set",
"vpc",
"id",
"(",
"vpc",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"this",
"parameter",
"is",
"currently",
"disabled",
"<",
"/",
"p",
">"
] | [
"this",
"auto",
"minor",
"version",
"upgrade",
"=",
"auto",
"minor",
"version",
"upgrade",
";"
] |
[
"<",
"p",
">",
"this",
"parameter",
"is",
"currently",
"disabled",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"auto",
"minor",
"version",
"upgrade",
";"
] |
[
"<",
"p",
">",
"this",
"parameter",
"is",
"currently",
"disabled",
"<",
"/",
"p",
">"
] | [
"set",
"auto",
"minor",
"version",
"upgrade",
"(",
"auto",
"minor",
"version",
"upgrade",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"this",
"parameter",
"is",
"currently",
"disabled",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"auto",
"minor",
"version",
"upgrade",
";"
] |
[
"<",
"p",
">",
"the",
"number",
"of",
"days",
"for",
"which",
"elasti",
"cache",
"retains",
"automatic",
"cluster",
"snapshots",
"before",
"deleting",
"them",
"for",
"example",
"if",
"you",
"set",
"<",
"code",
">",
"snapshot",
"retention",
"limit",
"<",
"/",
"code",
">",
"to",
"5",
"a",
"snapshot",
"that",
"was",
"taken",
"today",
"is",
"retained",
"for",
"5",
"days",
"before",
"being",
"deleted",
"<",
"/",
"p",
">",
"<",
"note",
">",
"<",
"p",
">",
"if",
"the",
"value",
"of",
"<",
"code",
">",
"snapshot",
"retention",
"limit",
"<",
"/",
"code",
">",
"is",
"set",
"to",
"zero",
"(",
"0",
")",
"backups",
"are",
"turned",
"off",
"<",
"/",
"p",
">",
"<",
"/",
"note",
">"
] | [
"this",
"snapshot",
"retention",
"limit",
"=",
"snapshot",
"retention",
"limit",
";"
] |
[
"<",
"p",
">",
"the",
"number",
"of",
"days",
"for",
"which",
"elasti",
"cache",
"retains",
"automatic",
"cluster",
"snapshots",
"before",
"deleting",
"them",
"for",
"example",
"if",
"you",
"set",
"<",
"code",
">",
"snapshot",
"retention",
"limit",
"<",
"/",
"code",
">",
"to",
"5",
"a",
"snapshot",
"that",
"was",
"taken",
"today",
"is",
"retained",
"for",
"5",
"days",
"before",
"being",
"deleted",
"<",
"/",
"p",
">",
"<",
"note",
">",
"<",
"p",
">",
"if",
"the",
"value",
"of",
"<",
"code",
">",
"snapshot",
"retention",
"limit",
"<",
"/",
"code",
">",
"is",
"set",
"to",
"zero",
"(",
"0",
")",
"backups",
"are",
"turned",
"off",
"<",
"/",
"p",
">",
"<",
"/",
"note",
">"
] | [
"return",
"this",
"snapshot",
"retention",
"limit",
";"
] |
[
"<",
"p",
">",
"for",
"an",
"automatic",
"snapshot",
"the",
"number",
"of",
"days",
"for",
"which",
"elasti",
"cache",
"retains",
"the",
"snapshot",
"before",
"deleting",
"it",
"<",
"/",
"p",
">",
"<",
"p",
">",
"for",
"manual",
"snapshots",
"this",
"field",
"reflects",
"the",
"<",
"code",
">",
"snapshot",
"retention",
"limit",
"<",
"/",
"code",
">",
"for",
"the",
"source",
"cluster",
"when",
"the",
"snapshot",
"was",
"created",
"this",
"field",
"is",
"otherwise",
"ignored",
":",
"manual",
"snapshots",
"do",
"not",
"expire",
"and",
"can",
"only",
"be",
"deleted",
"using",
"the",
"<",
"code",
">",
"delete",
"snapshot",
"<",
"/",
"code",
">",
"operation",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"important",
"<",
"/",
"b",
">",
"if",
"the",
"value",
"of",
"snapshot",
"retention",
"limit",
"is",
"set",
"to",
"zero",
"(",
"0",
")",
"backups",
"are",
"turned",
"off",
"<",
"/",
"p",
">"
] | [
"set",
"snapshot",
"retention",
"limit",
"(",
"snapshot",
"retention",
"limit",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"daily",
"time",
"range",
"(",
"in",
"utc",
")",
"during",
"which",
"elasti",
"cache",
"begins",
"taking",
"a",
"daily",
"snapshot",
"of",
"your",
"cluster",
"<",
"/",
"p",
">"
] | [
"this",
"snapshot",
"window",
"=",
"snapshot",
"window",
";"
] |
[
"<",
"p",
">",
"the",
"daily",
"time",
"range",
"(",
"in",
"utc",
")",
"during",
"which",
"elasti",
"cache",
"begins",
"taking",
"a",
"daily",
"snapshot",
"of",
"your",
"cluster",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"snapshot",
"window",
";"
] |
[
"<",
"p",
">",
"the",
"daily",
"time",
"range",
"during",
"which",
"elasti",
"cache",
"takes",
"daily",
"snapshots",
"of",
"the",
"source",
"cluster",
"<",
"/",
"p",
">"
] | [
"set",
"snapshot",
"window",
"(",
"snapshot",
"window",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"an",
"optional",
"parameter",
"that",
"specifies",
"the",
"number",
"of",
"node",
"groups",
"(",
"shards",
")",
"for",
"this",
"redis",
"(",
"cluster",
"mode",
"enabled",
")",
"replication",
"group",
"for",
"redis",
"(",
"cluster",
"mode",
"disabled",
")",
"either",
"omit",
"this",
"parameter",
"or",
"set",
"it",
"to",
"1",
"<",
"/",
"p",
">",
"<",
"p",
">",
"default",
":",
"1",
"<",
"/",
"p",
">"
] | [
"this",
"num",
"node",
"groups",
"=",
"num",
"node",
"groups",
";"
] |
[
"<",
"p",
">",
"an",
"optional",
"parameter",
"that",
"specifies",
"the",
"number",
"of",
"node",
"groups",
"(",
"shards",
")",
"for",
"this",
"redis",
"(",
"cluster",
"mode",
"enabled",
")",
"replication",
"group",
"for",
"redis",
"(",
"cluster",
"mode",
"disabled",
")",
"either",
"omit",
"this",
"parameter",
"or",
"set",
"it",
"to",
"1",
"<",
"/",
"p",
">",
"<",
"p",
">",
"default",
":",
"1",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"num",
"node",
"groups",
";"
] |
[
"<",
"p",
">",
"the",
"number",
"of",
"node",
"groups",
"(",
"shards",
")",
"in",
"this",
"snapshot",
"when",
"restoring",
"from",
"a",
"snapshot",
"the",
"number",
"of",
"node",
"groups",
"(",
"shards",
")",
"in",
"the",
"snapshot",
"and",
"in",
"the",
"restored",
"replication",
"group",
"must",
"be",
"the",
"same",
"<",
"/",
"p",
">"
] | [
"set",
"num",
"node",
"groups",
"(",
"num",
"node",
"groups",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"indicates",
"the",
"status",
"of",
"multi",
"-",
"az",
"with",
"automatic",
"failover",
"for",
"this",
"redis",
"replication",
"group",
"<",
"/",
"p",
">",
"<",
"p",
">",
"amazon",
"elasti",
"cache",
"for",
"redis",
"does",
"not",
"support",
"multi",
"-",
"az",
"with",
"automatic",
"failover",
"on",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"redis",
"versions",
"earlier",
"than",
"2",
"8",
"6",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"redis",
"(",
"cluster",
"mode",
"disabled",
")",
":",
"t1",
"and",
"t2",
"cache",
"node",
"types",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"redis",
"(",
"cluster",
"mode",
"enabled",
")",
":",
"t1",
"node",
"types",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">"
] | [
"this",
"automatic",
"failover",
"=",
"automatic",
"failover",
";"
] |
[
"<",
"p",
">",
"indicates",
"the",
"status",
"of",
"multi",
"-",
"az",
"with",
"automatic",
"failover",
"for",
"this",
"redis",
"replication",
"group",
"<",
"/",
"p",
">",
"<",
"p",
">",
"amazon",
"elasti",
"cache",
"for",
"redis",
"does",
"not",
"support",
"multi",
"-",
"az",
"with",
"automatic",
"failover",
"on",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"redis",
"versions",
"earlier",
"than",
"2",
"8",
"6",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"redis",
"(",
"cluster",
"mode",
"disabled",
")",
":",
"t1",
"and",
"t2",
"cache",
"node",
"types",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"redis",
"(",
"cluster",
"mode",
"enabled",
")",
":",
"t1",
"node",
"types",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">"
] | [
"return",
"this",
"automatic",
"failover",
";"
] |
[
"<",
"p",
">",
"indicates",
"the",
"status",
"of",
"multi",
"-",
"az",
"with",
"automatic",
"failover",
"for",
"the",
"source",
"redis",
"replication",
"group",
"<",
"/",
"p",
">",
"<",
"p",
">",
"amazon",
"elasti",
"cache",
"for",
"redis",
"does",
"not",
"support",
"multi",
"-",
"az",
"with",
"automatic",
"failover",
"on",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"redis",
"versions",
"earlier",
"than",
"2",
"8",
"6",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"redis",
"(",
"cluster",
"mode",
"disabled",
")",
":",
"t1",
"and",
"t2",
"cache",
"node",
"types",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"redis",
"(",
"cluster",
"mode",
"enabled",
")",
":",
"t1",
"node",
"types",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">"
] | [
"set",
"automatic",
"failover",
"(",
"automatic",
"failover",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"indicates",
"the",
"status",
"of",
"multi",
"-",
"az",
"with",
"automatic",
"failover",
"for",
"this",
"redis",
"replication",
"group",
"<",
"/",
"p",
">",
"<",
"p",
">",
"amazon",
"elasti",
"cache",
"for",
"redis",
"does",
"not",
"support",
"multi",
"-",
"az",
"with",
"automatic",
"failover",
"on",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"redis",
"versions",
"earlier",
"than",
"2",
"8",
"6",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"redis",
"(",
"cluster",
"mode",
"disabled",
")",
":",
"t1",
"and",
"t2",
"cache",
"node",
"types",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"redis",
"(",
"cluster",
"mode",
"enabled",
")",
":",
"t1",
"node",
"types",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">"
] | [
"with",
"automatic",
"failover",
"(",
"automatic",
"failover",
")",
";"
] |
[
"<",
"p",
">",
"indicates",
"the",
"status",
"of",
"multi",
"-",
"az",
"with",
"automatic",
"failover",
"for",
"the",
"source",
"redis",
"replication",
"group",
"<",
"/",
"p",
">",
"<",
"p",
">",
"amazon",
"elasti",
"cache",
"for",
"redis",
"does",
"not",
"support",
"multi",
"-",
"az",
"with",
"automatic",
"failover",
"on",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"redis",
"versions",
"earlier",
"than",
"2",
"8",
"6",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"redis",
"(",
"cluster",
"mode",
"disabled",
")",
":",
"t1",
"and",
"t2",
"cache",
"node",
"types",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"redis",
"(",
"cluster",
"mode",
"enabled",
")",
":",
"t1",
"node",
"types",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">"
] | [
"this",
"automatic",
"failover",
"=",
"automatic",
"failover",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"list",
"of",
"the",
"cache",
"nodes",
"in",
"the",
"source",
"cluster",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"node",
"snapshots",
"=",
"=",
"null",
")",
"{",
"node",
"snapshots",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"node",
"snapshot",
">",
"(",
")",
";",
"}",
"return",
"node",
"snapshots",
";"
] |
[
"<",
"p",
">",
"a",
"list",
"of",
"the",
"cache",
"nodes",
"in",
"the",
"source",
"cluster",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"node",
"snapshots",
"=",
"=",
"null",
")",
"{",
"this",
"node",
"snapshots",
"=",
"null",
";",
"return",
";",
"}",
"this",
"node",
"snapshots",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"node",
"snapshot",
">",
"(",
"node",
"snapshots",
")",
";"
] |
[
"<",
"p",
">",
"a",
"list",
"of",
"the",
"cache",
"nodes",
"in",
"the",
"source",
"cluster",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{",
"@",
"link",
"#",
"set",
"node",
"snapshots",
"(",
"java",
"util",
"collection",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"with",
"node",
"snapshots",
"(",
"java",
"util",
"collection",
")",
"}",
"if",
"you",
"want",
"to",
"override",
"the",
"existing",
"values",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"this",
"node",
"snapshots",
"=",
"=",
"null",
")",
"{",
"set",
"node",
"snapshots",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"node",
"snapshot",
">",
"(",
"node",
"snapshots",
"length",
")",
")",
";",
"}",
"for",
"(",
"node",
"snapshot",
"ele",
":",
"node",
"snapshots",
")",
"{",
"this",
"node",
"snapshots",
"add",
"(",
"ele",
")",
";",
"}",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"list",
"of",
"the",
"cache",
"nodes",
"in",
"the",
"source",
"cluster",
"<",
"/",
"p",
">"
] | [
"set",
"node",
"snapshots",
"(",
"node",
"snapshots",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"whether",
"this",
"aspect",
"allows",
"proto",
"services",
"to",
"be",
"generated",
"from",
"this",
"proto",
"rule"
] | [
"return",
"true",
";"
] |
[
"/",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"/",
"*",
"value",
"modifications",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*"
] | [
"public",
"abstract",
"object",
"modify",
"before",
"write",
"(",
"object",
"value",
")",
";"
] |
[
"/",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"/",
"*",
"helper",
"methods",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*"
] | [
"if",
"(",
"arg",
"=",
"=",
"null",
"|",
"|",
"arg",
"length",
"=",
"=",
"0",
")",
"{",
"return",
"null",
";",
"}",
"return",
"arg",
";"
] |
[
"determine",
"if",
"a",
"channel",
"is",
"still",
"valid",
"a",
"channel",
"is",
"invalidated",
"after",
"{",
"@",
"link",
"#",
"close",
"(",
")",
"}",
"is",
"called"
] | [
"return",
"!",
"m",
"closed",
"get",
"(",
")",
";"
] |
[
"configure",
"sensor",
"rate",
"or",
"stop",
"sensor",
"report"
] | [
"return",
"m",
"manager",
"configure",
"direct",
"channel",
"impl",
"(",
"this",
",",
"sensor",
",",
"rate",
"level",
")",
";"
] |
[
"returns",
"the",
"maximum",
"number",
"of",
"streaks",
"this",
"view",
"is",
"able",
"to",
"show",
"given",
"its",
"current",
"size"
] | [
"return",
"(",
"int",
")",
"math",
"floor",
"(",
"get",
"measured",
"height",
"(",
")",
"/",
"base",
"size",
")",
";"
] |
[
"<",
"p",
">",
"the",
"system",
"-",
"generated",
"id",
"of",
"the",
"pull",
"request",
"<",
"/",
"p",
">"
] | [
"this",
"pull",
"request",
"id",
"=",
"pull",
"request",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"system",
"-",
"generated",
"id",
"of",
"the",
"pull",
"request",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"pull",
"request",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"system",
"-",
"generated",
"id",
"of",
"the",
"pull",
"request",
"to",
"get",
"this",
"id",
"use",
"<",
"a",
">",
"list",
"pull",
"requests",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">"
] | [
"set",
"pull",
"request",
"id",
"(",
"pull",
"request",
"id",
")",
";",
"return",
"this",
";"
] |
[
"creates",
"an",
"id",
"for",
"a",
"declared",
"provider",
"with",
"a",
"given",
"key",
"(",
"{"
] | [
"return",
"new",
"skylark",
"provider",
"identifier",
"(",
"key",
")",
";"
] |
[
"creates",
"an",
"id",
"for",
"a",
"provider",
"with",
"a",
"given",
"name"
] | [
"return",
"new",
"skylark",
"provider",
"identifier",
"(",
"legacy",
"id",
")",
";"
] |
[
"returns",
"true",
"if",
"this",
"{"
] | [
"return",
"legacy",
"id",
"!",
"=",
"null",
";"
] |
[
"this",
"method",
"is",
"called",
"by",
"the",
"fast",
"adapter",
"during",
"view",
"holder",
"creation",
"once"
] | [
"public",
"abstract",
"void",
"attach",
"event",
"(",
"view",
"view",
",",
"recycler",
"view",
"view",
"holder",
"view",
"holder",
")",
";"
] |
[
"helper",
"method",
"to",
"get",
"the",
"fast",
"adapter",
"from",
"this",
"view",
"holder"
] | [
"object",
"tag",
"=",
"view",
"holder",
"item",
"view",
"get",
"tag",
"(",
"r",
"id",
"fastadapter",
"item",
"adapter",
")",
";",
"if",
"(",
"tag",
"instanceof",
"fast",
"adapter",
")",
"{",
"return",
"(",
"fast",
"adapter",
"<",
"item",
">",
")",
"tag",
";",
"}",
"return",
"null",
";"
] |
Subsets and Splits