docstring_tokens list | code_tokens list |
|---|---|
[
"{"
] | [
"@",
"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",... |
[
"/",
"*",
"if",
"[",
"aop",
"]"
] | [
"final",
"matcher",
"<",
"class",
">",
"class",
"matcher",
"=",
"matchers",
"subclasses",
"of",
"(",
"list",
"class",
")",
";",
"final",
"matcher",
"<",
"object",
">",
"method",
"matcher",
"=",
"matchers",
"any",
"(",
")",
";",
"final",
"org",
"aopallian... |
[
"/",
"*",
"end",
"[",
"aop",
"]"
] | [
"check",
"module",
"(",
"new",
"abstract",
"module",
"(",
")",
"{",
"@",
"override",
"protected",
"void",
"configure",
"(",
")",
"{",
"bind",
"scope",
"(",
"sample",
"annotation",
"class",
",",
"scopes",
"no",
"scope",
")",
";",
"}",
"}",
",",
"new",
... |
[
"business",
"logic",
"tests"
] | [
"final",
"atomic",
"integer",
"a",
"configure",
"count",
"=",
"new",
"atomic",
"integer",
"(",
"0",
")",
";",
"final",
"module",
"a",
"=",
"new",
"abstract",
"module",
"(",
")",
"{",
"@",
"override",
"public",
"void",
"configure",
"(",
")",
"{",
"a",
... |
[
"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",... | [
"this",
"snapshot",
"status",
"=",
"snapshot",
"status",
";"
] |
[
"<",
"p",
">",
"the",
"status",
"of",
"the",
"snapshot",
"valid",
"values",
":",
"<",
"code",
">",
"creating",
"<",
"/",
"code",
">",
"|",
"<",
"code",
">",
"available",
"<",
"/",
"code",
">",
"|",
"<",
"code",
">",
"restoring",
"<",
"/",
"code",... | [
"return",
"this",
"snapshot",
"status",
";"
] |
[
"<",
"p",
">",
"the",
"status",
"of",
"the",
"snapshot",
"valid",
"values",
":",
"<",
"code",
">",
"creating",
"<",
"/",
"code",
">",
"|",
"<",
"code",
">",
"available",
"<",
"/",
"code",
">",
"|",
"<",
"code",
">",
"restoring",
"<",
"/",
"code",... | [
"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",
"<",
"/",
... | [
"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",
"<",
"/",
... | [
"return",
"this",
"snapshot",
"source",
";"
] |
[
"<",
"p",
">",
"indicates",
"whether",
"the",
"snapshot",
"is",
"from",
"an",
"automatic",
"backup",
"(",
"<",
"code",
">",
"automated",
"<",
"/",
"code",
">",
")",
"or",
"was",
"created",
"manually",
"(",
"<",
"code",
">",
"manual",
"<",
"/",
"code"... | [
"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",
... | [
"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"... | [
"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",
"... | [
"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",
"... | [
"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",
... | [
"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",
"ava... | [
"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",
"ava... | [
"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",
"-",
... | [
"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",
"-",
... | [
"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",
"-",
... | [
"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... | [
"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",
">",
"... | [
"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",
">",
"... | [
"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",
"<",
"/... | [
"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",
"<",
"/... | [
"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",
"f... | [
"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",
... | [
"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",
... | [
"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"... | [
"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",
"supp... | [
"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",
"supp... | [
"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",
"no... | [
"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",
"supp... | [
"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",
"no... | [
"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",
... |
[
"<",
"p",
">",
"a",
"list",
"of",
"the",
"cache",
"nodes",
"in",
"the",
"source",
"cluster",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing... | [
"if",
"(",
"this",
"node",
"snapshots",
"=",
"=",
"null",
")",
"{",
"set",
"node",
"snapshots",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"node",
"snapshot",
">",
"(",
"node",
"snapshots",
"length",
")",
")",
";",
"}",... |
[
"<",
"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",
";"
] |
[
"/",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"... | [
"public",
"abstract",
"object",
"modify",
"before",
"write",
"(",
"object",
"value",
")",
";"
] |
[
"/",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"... | [
"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",
">",
")",
"t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.