docstring_tokens
sequence | code_tokens
sequence |
---|---|
[
"returns",
"a",
"solr",
"request",
"to",
"delete",
"a",
"node"
] | [
"return",
"new",
"delete",
"node",
"(",
"node",
")",
";"
] |
[
"sets",
"the",
"timeout",
"in",
"millis",
"(",
"http",
"socket",
"timeout",
")",
"when",
"downloading",
"via",
"http",
"/",
"https",
"protocols",
"<",
"p",
"/",
">",
"the",
"default",
"value",
"is",
"10000"
] | [
"this",
"timeout",
"=",
"timeout",
";"
] |
[
"/",
"*",
"returns",
"a",
"rebalance",
"leaders",
"object",
"to",
"rebalance",
"leaders",
"for",
"a",
"collection"
] | [
"return",
"new",
"rebalance",
"leaders",
"(",
"collection",
")",
";"
] |
[
"returns",
"a",
"solr",
"request",
"to",
"delete",
"a",
"collection"
] | [
"return",
"new",
"delete",
"(",
"collection",
")",
";"
] |
[
"collection",
"creation",
"params",
"in",
"common",
":"
] | [
"this",
"config",
"name",
"=",
"config",
";",
"return",
"this",
";"
] |
[
"returns",
"a",
"solr",
"request",
"to",
"create",
"a",
"new",
"shard",
"in",
"a",
"collection"
] | [
"return",
"new",
"create",
"shard",
"(",
"collection",
",",
"shard",
")",
";"
] |
[
"returns",
"a",
"solr",
"request",
"to",
"split",
"a",
"shard",
"in",
"a",
"collection"
] | [
"return",
"new",
"split",
"shard",
"(",
"collection",
")",
";"
] |
[
"returns",
"a",
"solr",
"request",
"to",
"delete",
"a",
"shard",
"from",
"a",
"collection"
] | [
"return",
"new",
"delete",
"shard",
"(",
"collection",
",",
"shard",
")",
";"
] |
[
"returns",
"a",
"solr",
"request",
"to",
"force",
"a",
"leader",
"election",
"for",
"a",
"shard",
"in",
"a",
"collection"
] | [
"return",
"new",
"force",
"leader",
"(",
"collection",
",",
"shard",
")",
";"
] |
[
"returns",
"a",
"solr",
"request",
"for",
"checking",
"the",
"status",
"of",
"an",
"asynchronous",
"request"
] | [
"return",
"new",
"request",
"status",
"(",
"request",
"id",
")",
";"
] |
[
"unique",
"identifier",
"of",
"the",
"request",
"to",
"ensure",
"the",
"request",
"is",
"handled",
"exactly",
"once",
"in",
"case",
"of",
"retries"
] | [
"return",
"this",
"request",
"id",
";"
] |
[
"wait",
"until",
"the",
"asynchronous",
"request",
"is",
"either",
"completed",
"or",
"failed",
"up",
"to",
"a",
"timeout"
] | [
"long",
"finish",
"time",
"=",
"system",
"nano",
"time",
"(",
")",
"+",
"time",
"unit",
"seconds",
"to",
"nanos",
"(",
"timeout",
"seconds",
")",
";",
"request",
"status",
"state",
"state",
"=",
"request",
"status",
"state",
"not",
"found",
";",
"while",
"(",
"system",
"nano",
"time",
"(",
")",
"<",
"finish",
"time",
")",
"{",
"state",
"=",
"this",
"process",
"(",
"client",
")",
"get",
"request",
"status",
"(",
")",
";",
"if",
"(",
"state",
"=",
"=",
"request",
"status",
"state",
"completed",
"|",
"|",
"state",
"=",
"=",
"request",
"status",
"state",
"failed",
")",
"{",
"delete",
"async",
"id",
"(",
"request",
"id",
")",
"process",
"(",
"client",
")",
";",
"return",
"state",
";",
"}",
"time",
"unit",
"seconds",
"sleep",
"(",
"1",
")",
";",
"}",
"return",
"state",
";"
] |
[
"returns",
"a",
"solr",
"request",
"to",
"delete",
"a",
"all",
"asynchronous",
"request",
"statuses"
] | [
"return",
"new",
"delete",
"status",
"(",
"null",
",",
"true",
")",
";"
] |
[
"returns",
"a",
"solr",
"request",
"to",
"add",
"or",
"remove",
"properties",
"from",
"an",
"alias"
] | [
"return",
"new",
"set",
"alias",
"property",
"(",
"alias",
"name",
")",
";"
] |
[
"returns",
"a",
"solr",
"request",
"to",
"create",
"a",
"new",
"alias"
] | [
"return",
"new",
"create",
"alias",
"(",
"alias",
"name",
",",
"aliased",
"collections",
")",
";"
] |
[
"returns",
"a",
"solr",
"request",
"to",
"create",
"a",
"routed",
"alias",
"only",
"time",
"based",
"routing",
"is",
"supported",
"presently",
"for",
"time",
"based",
"routing",
"the",
"start",
"a",
"standard",
"solr",
"timestamp",
"string",
"(",
"possibly",
"with",
"date",
"math",
")"
] | [
"return",
"new",
"create",
"time",
"routed",
"alias",
"(",
"alias",
"name",
",",
"router",
"field",
",",
"start",
",",
"interval",
",",
"create",
"coll",
"template",
")",
";"
] |
[
"sets",
"the",
"timezone",
"for",
"interpreting",
"any",
"solr",
"date",
"math"
] | [
"this",
"tz",
"=",
"tz",
";",
"return",
"this",
";"
] |
[
"sets",
"how",
"long",
"into",
"the",
"future",
"(",
"millis",
")",
"that",
"we",
"will",
"allow",
"a",
"document",
"to",
"pass"
] | [
"this",
"max",
"future",
"ms",
"=",
"max",
"future",
"ms",
";",
"return",
"this",
";"
] |
[
"returns",
"a",
"solr",
"request",
"to",
"delete",
"an",
"alias"
] | [
"return",
"new",
"delete",
"alias",
"(",
"alias",
"name",
")",
";"
] |
[
"returns",
"a",
"solr",
"request",
"to",
"add",
"a",
"replica",
"of",
"type",
"{",
"@",
"link",
"org",
"apache",
"solr",
"common",
"cloud",
"replica",
"type",
"#",
"nrt",
"}",
"to",
"a",
"shard",
"in",
"a",
"collection"
] | [
"return",
"add",
"replica",
"to",
"shard",
"(",
"collection",
",",
"shard",
",",
"replica",
"type",
"nrt",
")",
";"
] |
[
"returns",
"a",
"solr",
"request",
"to",
"add",
"a",
"replica",
"of",
"the",
"specified",
"type",
"to",
"a",
"shard",
"in",
"a",
"collection",
"if",
"the",
"replica",
"type",
"is",
"null",
"the",
"server",
"default",
"will",
"be",
"used"
] | [
"return",
"new",
"add",
"replica",
"(",
"collection",
",",
"check",
"not",
"null",
"(",
"core",
"admin",
"params",
"shard",
",",
"shard",
")",
",",
"null",
",",
"replica",
"type",
")",
";"
] |
[
"gets",
"the",
"data",
"directory"
] | [
"return",
"data",
"dir",
";"
] |
[
"returns",
"a",
"solr",
"request",
"to",
"delete",
"a",
"replica",
"from",
"a",
"shard",
"in",
"a",
"collection"
] | [
"return",
"new",
"delete",
"replica",
"(",
"collection",
",",
"check",
"not",
"null",
"(",
"core",
"admin",
"params",
"shard",
",",
"shard",
")",
",",
"check",
"not",
"null",
"(",
"core",
"admin",
"params",
"replica",
",",
"replica",
")",
")",
";"
] |
[
"returns",
"a",
"solr",
"request",
"to",
"remove",
"a",
"number",
"of",
"replicas",
"from",
"a",
"specific",
"shard"
] | [
"return",
"new",
"delete",
"replica",
"(",
"collection",
",",
"check",
"not",
"null",
"(",
"core",
"admin",
"params",
"shard",
",",
"shard",
")",
",",
"count",
")",
";"
] |
[
"returns",
"a",
"solr",
"request",
"to",
"set",
"(",
"or",
"unset",
")",
"a",
"cluster",
"property"
] | [
"return",
"new",
"cluster",
"prop",
"(",
"property",
"name",
",",
"property",
"value",
")",
";"
] |
[
"returns",
"a",
"solr",
"request",
"to",
"migrate",
"data",
"matching",
"a",
"split",
"key",
"to",
"another",
"collection"
] | [
"return",
"new",
"migrate",
"(",
"collection",
",",
"target",
"collection",
",",
"split",
"key",
")",
";"
] |
[
"returns",
"a",
"solr",
"request",
"to",
"add",
"a",
"role",
"to",
"a",
"node"
] | [
"return",
"new",
"add",
"role",
"(",
"node",
",",
"role",
")",
";"
] |
[
"returns",
"a",
"solr",
"request",
"to",
"remove",
"a",
"role",
"from",
"a",
"node"
] | [
"return",
"new",
"remove",
"role",
"(",
"node",
",",
"role",
")",
";"
] |
[
"return",
"a",
"solr",
"request",
"to",
"get",
"the",
"overseer",
"status"
] | [
"return",
"new",
"overseer",
"status",
"(",
")",
";"
] |
[
"return",
"a",
"solr",
"request",
"to",
"get",
"the",
"cluster",
"status"
] | [
"return",
"new",
"cluster",
"status",
"(",
")",
";"
] |
[
"returns",
"a",
"solr",
"request",
"to",
"add",
"a",
"property",
"to",
"a",
"specific",
"replica"
] | [
"return",
"new",
"add",
"replica",
"prop",
"(",
"collection",
",",
"shard",
",",
"replica",
",",
"property",
"name",
",",
"property",
"value",
")",
";"
] |
[
"returns",
"a",
"solr",
"request",
"to",
"delete",
"a",
"property",
"from",
"a",
"specific",
"replica"
] | [
"return",
"new",
"delete",
"replica",
"prop",
"(",
"collection",
",",
"shard",
",",
"replica",
",",
"property",
"name",
")",
";"
] |
[
"returns",
"a",
"solr",
"request",
"to",
"migrate",
"a",
"collection",
"state",
"format"
] | [
"return",
"new",
"migrate",
"cluster",
"state",
"(",
"collection",
")",
";"
] |
[
"returns",
"a",
"solr",
"request",
"to",
"balance",
"a",
"replica",
"property",
"across",
"the",
"shards",
"of",
"a",
"collection"
] | [
"return",
"new",
"balance",
"shard",
"unique",
"(",
"collection",
",",
"property",
"name",
")",
";"
] |
[
"replace",
"2",
"-",
"byte",
"strings",
"like",
"%",
"s",
"with",
"s",
"2"
] | [
"int",
"idx",
";",
"while",
"(",
"(",
"idx",
"=",
"sb",
"index",
"of",
"(",
"s",
"1",
")",
")",
"!",
"=",
"-",
"1",
")",
"sb",
"replace",
"(",
"idx",
",",
"idx",
"+",
"2",
",",
"s",
"2",
")",
";"
] |
[
"this",
"method",
"assigns",
"new",
"value"
] | [
"try",
"{",
"lock",
"write",
"lock",
"(",
")",
"lock",
"(",
")",
";",
"this",
"value",
"=",
"value",
";",
"}",
"finally",
"{",
"lock",
"write",
"lock",
"(",
")",
"unlock",
"(",
")",
";",
"}"
] |
[
"this",
"method",
"returns",
"current",
"value"
] | [
"try",
"{",
"lock",
"read",
"lock",
"(",
")",
"lock",
"(",
")",
";",
"return",
"this",
"value",
";",
"}",
"finally",
"{",
"lock",
"read",
"lock",
"(",
")",
"unlock",
"(",
")",
";",
"}"
] |
[
"this",
"method",
"implements",
"compare",
"-",
"and",
"-",
"swap"
] | [
"try",
"{",
"lock",
"write",
"lock",
"(",
")",
"lock",
"(",
")",
";",
"if",
"(",
"objects",
"equals",
"(",
"value",
",",
"expected",
")",
")",
"{",
"this",
"value",
"=",
"new",
"value",
";",
"return",
"true",
";",
"}",
"else",
"return",
"false",
";",
"}",
"finally",
"{",
"lock",
"write",
"lock",
"(",
")",
"unlock",
"(",
")",
";",
"}"
] |
[
"gets",
"whether",
"to",
"use",
"simple",
"name",
"of",
"class",
"or",
"not"
] | [
"return",
"is",
"simple",
"name",
";"
] |
[
"sets",
"whether",
"to",
"use",
"simple",
"name",
"of",
"class",
"or",
"not"
] | [
"this",
"is",
"simple",
"name",
"=",
"is",
"simple",
"name",
";",
"return",
"this",
";"
] |
[
"{"
] | [
"if",
"(",
"this",
"=",
"=",
"o",
")",
"return",
"true",
";",
"if",
"(",
"!",
"(",
"o",
"instanceof",
"binary",
"basic",
"name",
"mapper",
")",
")",
"return",
"false",
";",
"binary",
"basic",
"name",
"mapper",
"mapper",
"=",
"(",
"binary",
"basic",
"name",
"mapper",
")",
"o",
";",
"if",
"(",
"is",
"simple",
"name",
"!",
"=",
"mapper",
"is",
"simple",
"name",
")",
"return",
"false",
";",
"return",
"true",
";"
] |
[
"{"
] | [
"return",
"(",
"is",
"simple",
"name",
"?",
"1",
":",
"0",
")",
";"
] |
[
"gets",
"the",
"basic",
"block",
"list",
"for",
"this",
"method"
] | [
"return",
"blocks",
";"
] |
[
"gets",
"the",
"label",
"for",
"the",
"first",
"block",
"in",
"the",
"method",
"that",
"this",
"list",
"represents"
] | [
"return",
"first",
"label",
";"
] |
[
"gets",
"the",
"exit",
"predecessors",
"for",
"this",
"instance"
] | [
"if",
"(",
"exit",
"predecessors",
"=",
"=",
"null",
")",
"{",
"calc",
"predecessors",
"(",
")",
";",
"}",
"return",
"exit",
"predecessors",
";"
] |
[
"test",
"if",
"trapdoor",
"is",
"inverted"
] | [
"return",
"(",
"(",
"get",
"data",
"(",
")",
"&",
"0x",
"8",
")",
"!",
"=",
"0",
")",
";"
] |
[
"set",
"trapdoor",
"inverted",
"state"
] | [
"int",
"dat",
"=",
"get",
"data",
"(",
")",
"&",
"0x",
"7",
";",
"if",
"(",
"inv",
")",
"{",
"dat",
"|",
"=",
"0x",
"8",
";",
"}",
"set",
"data",
"(",
"(",
"byte",
")",
"dat",
")",
";"
] |
[
"build",
"internal",
"service"
] | [
"return",
"service",
";"
] |
[
"<",
"p",
">",
"additional",
"information",
"that",
"you",
"want",
"to",
"include",
"in",
"the",
"generated",
"email",
"to",
"the",
"recipient",
"account",
"owner",
"<",
"/",
"p",
">"
] | [
"this",
"notes",
"=",
"notes",
";"
] |
[
"create",
"an",
"instance",
"of",
"{"
] | [
"return",
"new",
"s",
"object",
"(",
")",
";"
] |
[
"create",
"an",
"instance",
"of",
"{"
] | [
"return",
"new",
"result",
"error",
"(",
")",
";"
] |
[
"create",
"an",
"instance",
"of",
"{"
] | [
"return",
"new",
"batch",
"info",
"(",
")",
";"
] |
[
"create",
"an",
"instance",
"of",
"{"
] | [
"return",
"new",
"batch",
"result",
"(",
")",
";"
] |
[
"create",
"an",
"instance",
"of",
"{"
] | [
"return",
"new",
"query",
"result",
"list",
"(",
")",
";"
] |
[
"create",
"an",
"instance",
"of",
"{"
] | [
"return",
"new",
"error",
"(",
")",
";"
] |
[
"create",
"an",
"instance",
"of",
"{"
] | [
"return",
"new",
"batch",
"info",
"list",
"(",
")",
";"
] |
[
"create",
"an",
"instance",
"of",
"{"
] | [
"return",
"new",
"result",
"(",
")",
";"
] |
[
"create",
"an",
"instance",
"of",
"{"
] | [
"return",
"new",
"job",
"info",
"(",
")",
";"
] |
[
"create",
"an",
"instance",
"of",
"{"
] | [
"return",
"new",
"query",
"result",
"(",
")",
";"
] |
[
"check",
"whether",
"this",
"directory",
"is",
"open",
"or",
"closed",
"this",
"check",
"may",
"return",
"stale",
"results",
"in",
"the",
"form",
"of",
"false",
"negatives"
] | [
"return",
"!",
"is",
"open",
";"
] |
[
"return",
"whether",
"the",
"quick",
"scale",
"gesture",
"in",
"which",
"the",
"user",
"performs",
"a",
"double",
"tap",
"followed",
"by",
"a",
"swipe",
"should",
"perform",
"scaling",
"{"
] | [
"return",
"m",
"quick",
"scale",
"enabled",
";"
] |
[
"sets",
"whether",
"the",
"associates",
"{",
"@",
"link",
"on",
"scale",
"gesture",
"listener",
"}",
"should",
"receive",
"on",
"scale",
"callbacks",
"when",
"the",
"user",
"uses",
"a",
"stylus",
"and",
"presses",
"the",
"button",
"note",
"that",
"this",
"is",
"enabled",
"by",
"default",
"if",
"the",
"app",
"targets",
"api",
"23",
"and",
"newer"
] | [
"m",
"stylus",
"scale",
"enabled",
"=",
"scales",
";"
] |
[
"return",
"whether",
"the",
"stylus",
"scale",
"gesture",
"in",
"which",
"the",
"user",
"uses",
"a",
"stylus",
"and",
"presses",
"the",
"button",
"should",
"perform",
"scaling",
"{"
] | [
"return",
"m",
"stylus",
"scale",
"enabled",
";"
] |
[
"returns",
"{"
] | [
"return",
"m",
"in",
"progress",
";"
] |
[
"get",
"the",
"x",
"coordinate",
"of",
"the",
"current",
"gesture",
"s",
"focal",
"point",
"if",
"a",
"gesture",
"is",
"in",
"progress",
"the",
"focal",
"point",
"is",
"between",
"each",
"of",
"the",
"pointers",
"forming",
"the",
"gesture"
] | [
"return",
"m",
"focus",
"x",
";"
] |
[
"get",
"the",
"y",
"coordinate",
"of",
"the",
"current",
"gesture",
"s",
"focal",
"point",
"if",
"a",
"gesture",
"is",
"in",
"progress",
"the",
"focal",
"point",
"is",
"between",
"each",
"of",
"the",
"pointers",
"forming",
"the",
"gesture"
] | [
"return",
"m",
"focus",
"y",
";"
] |
[
"return",
"the",
"average",
"distance",
"between",
"each",
"of",
"the",
"pointers",
"forming",
"the",
"gesture",
"in",
"progress",
"through",
"the",
"focal",
"point"
] | [
"return",
"m",
"curr",
"span",
";"
] |
[
"return",
"the",
"average",
"x",
"distance",
"between",
"each",
"of",
"the",
"pointers",
"forming",
"the",
"gesture",
"in",
"progress",
"through",
"the",
"focal",
"point"
] | [
"return",
"m",
"curr",
"span",
"x",
";"
] |
[
"return",
"the",
"average",
"y",
"distance",
"between",
"each",
"of",
"the",
"pointers",
"forming",
"the",
"gesture",
"in",
"progress",
"through",
"the",
"focal",
"point"
] | [
"return",
"m",
"curr",
"span",
"y",
";"
] |
[
"return",
"the",
"previous",
"average",
"distance",
"between",
"each",
"of",
"the",
"pointers",
"forming",
"the",
"gesture",
"in",
"progress",
"through",
"the",
"focal",
"point"
] | [
"return",
"m",
"prev",
"span",
";"
] |
[
"return",
"the",
"previous",
"average",
"x",
"distance",
"between",
"each",
"of",
"the",
"pointers",
"forming",
"the",
"gesture",
"in",
"progress",
"through",
"the",
"focal",
"point"
] | [
"return",
"m",
"prev",
"span",
"x",
";"
] |
[
"return",
"the",
"previous",
"average",
"y",
"distance",
"between",
"each",
"of",
"the",
"pointers",
"forming",
"the",
"gesture",
"in",
"progress",
"through",
"the",
"focal",
"point"
] | [
"return",
"m",
"prev",
"span",
"y",
";"
] |
[
"return",
"the",
"time",
"difference",
"in",
"milliseconds",
"between",
"the",
"previous",
"accepted",
"scaling",
"event",
"and",
"the",
"current",
"scaling",
"event"
] | [
"return",
"m",
"curr",
"time",
"-",
"m",
"prev",
"time",
";"
] |
[
"return",
"the",
"event",
"time",
"of",
"the",
"current",
"event",
"being",
"processed"
] | [
"return",
"m",
"curr",
"time",
";"
] |
[
"the",
"unique",
"id",
"of",
"your",
"amazon",
"pinpoint",
"application"
] | [
"this",
"application",
"id",
"=",
"application",
"id",
";"
] |
[
"the",
"unique",
"id",
"of",
"your",
"amazon",
"pinpoint",
"application"
] | [
"set",
"application",
"id",
"(",
"application",
"id",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"the",
"input",
"stream",
"that",
"contains",
"the",
"plugin",
"content"
] | [
"return",
"m",
"stream",
";"
] |
[
"returns",
"the",
"length",
"of",
"the",
"plugin",
"content"
] | [
"return",
"m",
"content",
"length",
";"
] |
[
"returns",
"the",
"http",
"response",
"headers",
"associated",
"with",
"the",
"plugin",
"content"
] | [
"return",
"m",
"headers",
";"
] |
[
"returns",
"the",
"http",
"status",
"code",
"for",
"the",
"response"
] | [
"return",
"m",
"status",
"code",
";"
] |
[
"get",
"all",
"filed",
"error",
"messages",
"as",
"{",
"@",
"link",
"resource",
"model",
"issue",
"}",
"s"
] | [
"return",
"get",
"errors",
"as",
"resource",
"model",
"issues",
"(",
"false",
")",
";"
] |
[
"get",
"error",
"messages",
"filed",
"after",
"{",
"@",
"link",
"errors",
"#",
"mark",
"(",
")",
"}",
"flag",
"was",
"set",
"as",
"{",
"@",
"link",
"resource",
"model",
"issue",
"}",
"s"
] | [
"return",
"errors",
"get",
"error",
"messages",
"(",
"after",
"mark",
")",
"stream",
"(",
")",
"map",
"(",
"input",
"-",
">",
"new",
"resource",
"model",
"issue",
"(",
"input",
"get",
"source",
"(",
")",
",",
"input",
"get",
"message",
"(",
")",
",",
"input",
"get",
"severity",
"(",
")",
")",
")",
"collect",
"(",
"collectors",
"to",
"list",
"(",
")",
")",
";"
] |
[
"starts",
"up",
"the",
"mock",
"ec2",
"instance",
"metadata",
"service"
] | [
"mock",
"server",
"=",
"new",
"e",
"c",
"2",
"metadata",
"service",
"mock",
"(",
")",
";",
"mock",
"server",
"start",
"(",
")",
";"
] |
[
"shuts",
"down",
"the",
"mock",
"ec2",
"instance",
"metadata",
"service"
] | [
"mock",
"server",
"stop",
"(",
")",
";",
"thread",
"sleep",
"(",
"1000",
")",
";"
] |
[
"{"
] | [
"status",
"merge",
"(",
"refactoring",
"status",
"create",
"fatal",
"error",
"status",
"(",
"refactoring",
"core",
"messages",
"unknown",
"refactoring",
"descriptor",
"cannot",
"create",
"refactoring",
")",
")",
";",
"return",
"null",
";"
] |
[
"<",
"p",
">",
"the",
"status",
"code",
"for",
"a",
"list",
"of",
"status",
"codes",
"see",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"awsec2",
"/",
"latest",
"/",
"user",
"guide",
"/",
"spot",
"-",
"bid",
"-",
"status",
"html",
"#",
"spot",
"-",
"instance",
"-",
"bid",
"-",
"status",
"-",
"understand",
">",
"spot",
"status",
"codes",
"<",
"/",
"a",
">",
"in",
"the",
"<",
"i",
">",
"amazon",
"ec2",
"user",
"guide",
"for",
"linux",
"instances",
"<",
"/",
"i",
">",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"code",
";"
] |
[
"<",
"p",
">",
"the",
"reason",
"code",
"for",
"the",
"spot",
"instance",
"state",
"change",
"<",
"/",
"p",
">"
] | [
"set",
"code",
"(",
"code",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"message",
"for",
"the",
"spot",
"instance",
"state",
"change",
"<",
"/",
"p",
">"
] | [
"set",
"message",
"(",
"message",
")",
";",
"return",
"this",
";"
] |
[
"this",
"method",
"is",
"called",
"when",
"an",
"one",
"of",
"the",
"methods",
"of",
"the",
"{",
"@",
"link",
"com",
"hazelcast",
"core",
"entry",
"listener",
"}",
"is",
"not",
"overridden",
"it",
"can",
"be",
"practical",
"if",
"you",
"want",
"to",
"bundle",
"some",
"/",
"all",
"of",
"the",
"methods",
"to",
"a",
"single",
"method"
] | [] |
[
"this",
"method",
"is",
"called",
"when",
"an",
"one",
"of",
"the",
"methods",
"of",
"the",
"{",
"@",
"link",
"com",
"hazelcast",
"core",
"entry",
"listener",
"}",
"is",
"not",
"overridden",
"it",
"can",
"be",
"practical",
"if",
"you",
"want",
"to",
"bundle",
"some",
"/",
"all",
"of",
"the",
"methods",
"to",
"a",
"single",
"method"
] | [] |
[
"stops",
"the",
"worker",
"if",
"one",
"is",
"created",
"and",
"running"
] | [
"final",
"thread",
"worker",
"=",
"worker",
"ref",
"get",
"and",
"set",
"(",
"null",
")",
";",
"if",
"(",
"worker",
"!",
"=",
"null",
"&",
"&",
"worker",
"is",
"alive",
"(",
")",
"&",
"&",
"!",
"worker",
"is",
"interrupted",
"(",
")",
")",
"worker",
"interrupt",
"(",
")",
";"
] |
[
"{"
] | [
"return",
"s",
"to",
"string",
"(",
"long",
"j",
"v",
"m",
"pause",
"detector",
"class",
",",
"this",
")",
";"
] |
[
"{"
] | [
"return",
"false",
";"
] |
[
"{"
] | [
"return",
"0",
";"
] |
[
"appends",
"a",
"suitable",
"type",
"for",
"the",
"given",
"type",
"for",
"example",
"at",
"minimum",
"this",
"will",
"replace",
"dto",
"interfaces",
"with",
"their",
"implementation",
"classes",
"and",
"json",
"collections",
"with",
"corresponding",
"java",
"types",
"if",
"a",
"suitable",
"type",
"cannot",
"be",
"determined",
"this",
"will",
"throw",
"an",
"exception"
] | [
"builder",
"append",
"(",
"get",
"impl",
"name",
"(",
"generic",
"type",
",",
"false",
")",
")",
";"
] |
[
"<",
"p",
">",
"whether",
"termination",
"protection",
"is",
"enabled",
"for",
"the",
"stack",
"<",
"/",
"p",
">",
"<",
"p",
">",
"for",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"a",
"w",
"s",
"cloud",
"formation",
"/",
"latest",
"/",
"user",
"guide",
"/",
"using",
"-",
"cfn",
"-",
"nested",
"-",
"stacks",
"html",
">",
"nested",
"stacks",
"<",
"/",
"a",
">",
"termination",
"protection",
"is",
"set",
"on",
"the",
"root",
"stack",
"and",
"cannot",
"be",
"changed",
"directly",
"on",
"the",
"nested",
"stack",
"for",
"more",
"information",
"see",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"a",
"w",
"s",
"cloud",
"formation",
"/",
"latest",
"/",
"user",
"guide",
"/",
"using",
"-",
"cfn",
"-",
"protect",
"-",
"stacks",
"html",
">",
"protecting",
"a",
"stack",
"from",
"being",
"deleted",
"<",
"/",
"a",
">",
"in",
"the",
"<",
"i",
">",
"aws",
"cloud",
"formation",
"user",
"guide",
"<",
"/",
"i",
">",
"<",
"/",
"p",
">"
] | [
"this",
"enable",
"termination",
"protection",
"=",
"enable",
"termination",
"protection",
";"
] |
[
"<",
"p",
">",
"whether",
"termination",
"protection",
"is",
"enabled",
"for",
"the",
"stack",
"<",
"/",
"p",
">",
"<",
"p",
">",
"for",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"a",
"w",
"s",
"cloud",
"formation",
"/",
"latest",
"/",
"user",
"guide",
"/",
"using",
"-",
"cfn",
"-",
"nested",
"-",
"stacks",
"html",
">",
"nested",
"stacks",
"<",
"/",
"a",
">",
"termination",
"protection",
"is",
"set",
"on",
"the",
"root",
"stack",
"and",
"cannot",
"be",
"changed",
"directly",
"on",
"the",
"nested",
"stack",
"for",
"more",
"information",
"see",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"a",
"w",
"s",
"cloud",
"formation",
"/",
"latest",
"/",
"user",
"guide",
"/",
"using",
"-",
"cfn",
"-",
"protect",
"-",
"stacks",
"html",
">",
"protecting",
"a",
"stack",
"from",
"being",
"deleted",
"<",
"/",
"a",
">",
"in",
"the",
"<",
"i",
">",
"aws",
"cloud",
"formation",
"user",
"guide",
"<",
"/",
"i",
">",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"enable",
"termination",
"protection",
";"
] |
[
"<",
"p",
">",
"whether",
"to",
"enable",
"termination",
"protection",
"on",
"the",
"specified",
"stack",
"<",
"/",
"p",
">"
] | [
"set",
"enable",
"termination",
"protection",
"(",
"enable",
"termination",
"protection",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"whether",
"termination",
"protection",
"is",
"enabled",
"for",
"the",
"stack",
"<",
"/",
"p",
">",
"<",
"p",
">",
"for",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"a",
"w",
"s",
"cloud",
"formation",
"/",
"latest",
"/",
"user",
"guide",
"/",
"using",
"-",
"cfn",
"-",
"nested",
"-",
"stacks",
"html",
">",
"nested",
"stacks",
"<",
"/",
"a",
">",
"termination",
"protection",
"is",
"set",
"on",
"the",
"root",
"stack",
"and",
"cannot",
"be",
"changed",
"directly",
"on",
"the",
"nested",
"stack",
"for",
"more",
"information",
"see",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"a",
"w",
"s",
"cloud",
"formation",
"/",
"latest",
"/",
"user",
"guide",
"/",
"using",
"-",
"cfn",
"-",
"protect",
"-",
"stacks",
"html",
">",
"protecting",
"a",
"stack",
"from",
"being",
"deleted",
"<",
"/",
"a",
">",
"in",
"the",
"<",
"i",
">",
"aws",
"cloud",
"formation",
"user",
"guide",
"<",
"/",
"i",
">",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"enable",
"termination",
"protection",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"associated",
"with",
"the",
"stack",
"<",
"/",
"p",
">"
] | [
"this",
"stack",
"name",
"=",
"stack",
"name",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.