docstring_tokens list | code_tokens list |
|---|---|
[
"trigger",
"cancellation",
"of",
"this",
"scheduled",
"task"
] | [
"scheduled",
"future",
"<",
"?",
">",
"future",
"=",
"this",
"future",
";",
"if",
"(",
"future",
"!",
"=",
"null",
")",
"{",
"future",
"cancel",
"(",
"true",
")",
";",
"}"
] |
[
"gets",
"the",
"name",
"of",
"the",
"error"
] | [
"return",
"error",
"name",
";"
] |
[
"get",
"user",
"session",
"if",
"it",
"has",
"authenticated",
"client",
"session",
"of",
"specified",
"client",
"attached",
"to",
"it",
"otherwise",
"download",
"it",
"from",
"remote",
"cache"
] | [
"return",
"kc",
"session",
"sessions",
"(",
")",
"get",
"user",
"session",
"with",
"predicate",
"(",
"realm",
",",
"id",
",",
"offline",
",",
"user",
"session",
"-",
">",
"user",
"session",
"get",
"authenticated",
"client",
"session",
"by",
"client",
"(",
... |
[
"todo",
"probably",
"remove",
"this",
"method",
"once",
"authenticated",
"client",
"session",
"get",
"action",
"is",
"removed",
"and",
"information",
"is",
"moved",
"to",
"o",
"auth",
"code",
"jwt",
"instead"
] | [
"return",
"kc",
"session",
"sessions",
"(",
")",
"get",
"user",
"session",
"with",
"predicate",
"(",
"realm",
",",
"id",
",",
"false",
",",
"(",
"user",
"session",
"model",
"user",
"session",
")",
"-",
">",
"{",
"authenticated",
"client",
"session",
"mod... |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"notification",
"<",
"/",
"p",
">"
] | [
"this",
"connection",
"notification",
"id",
"=",
"connection",
"notification",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"notification",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"connection",
"notification",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"notification",
"<",
"/",
"p",
">"
] | [
"set",
"connection",
"notification",
"id",
"(",
"connection",
"notification",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"arn",
"of",
"the",
"sns",
"topic",
"for",
"the",
"notifications",
"<",
"/",
"p",
">"
] | [
"this",
"connection",
"notification",
"arn",
"=",
"connection",
"notification",
"arn",
";"
] |
[
"<",
"p",
">",
"the",
"arn",
"of",
"the",
"sns",
"topic",
"for",
"the",
"notifications",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"connection",
"notification",
"arn",
";"
] |
[
"<",
"p",
">",
"the",
"arn",
"for",
"the",
"sns",
"topic",
"for",
"the",
"notification",
"<",
"/",
"p",
">"
] | [
"set",
"connection",
"notification",
"arn",
"(",
"connection",
"notification",
"arn",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"one",
"or",
"more",
"endpoint",
"events",
"for",
"which",
"to",
"receive",
"notifications",
"valid",
"values",
"are",
"<",
"code",
">",
"accept",
"<",
"/",
"code",
">",
"<",
"code",
">",
"connect",
"<",
"/",
"code",
">",
"<",
"code",
... | [
"if",
"(",
"connection",
"events",
"=",
"=",
"null",
")",
"{",
"connection",
"events",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"string",
">",
"(",
")",
";",
"}",
"return",
"connection",
"events",
";"
] |
[
"<",
"p",
">",
"one",
"or",
"more",
"endpoint",
"events",
"for",
"which",
"to",
"receive",
"notifications",
"valid",
"values",
"are",
"<",
"code",
">",
"accept",
"<",
"/",
"code",
">",
"<",
"code",
">",
"connect",
"<",
"/",
"code",
">",
"<",
"code",
... | [
"if",
"(",
"connection",
"events",
"=",
"=",
"null",
")",
"{",
"this",
"connection",
"events",
"=",
"null",
";",
"return",
";",
"}",
"this",
"connection",
"events",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"string",
">"... |
[
"<",
"p",
">",
"one",
"or",
"more",
"events",
"for",
"the",
"endpoint",
"valid",
"values",
"are",
"<",
"code",
">",
"accept",
"<",
"/",
"code",
">",
"<",
"code",
">",
"connect",
"<",
"/",
"code",
">",
"<",
"code",
">",
"delete",
"<",
"/",
"code",... | [
"if",
"(",
"this",
"connection",
"events",
"=",
"=",
"null",
")",
"{",
"set",
"connection",
"events",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"string",
">",
"(",
"connection",
"events",
"length",
")",
")",
";",
"}",
... |
[
"<",
"p",
">",
"one",
"or",
"more",
"events",
"for",
"the",
"endpoint",
"valid",
"values",
"are",
"<",
"code",
">",
"accept",
"<",
"/",
"code",
">",
"<",
"code",
">",
"connect",
"<",
"/",
"code",
">",
"<",
"code",
">",
"delete",
"<",
"/",
"code",... | [
"set",
"connection",
"events",
"(",
"connection",
"events",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"identifiers",
"of",
"the",
"data",
"lifecycle",
"policies",
"<",
"/",
"p",
">"
] | [
"return",
"policy",
"ids",
";"
] |
[
"<",
"p",
">",
"the",
"identifiers",
"of",
"the",
"data",
"lifecycle",
"policies",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"policy",
"ids",
"=",
"=",
"null",
")",
"{",
"this",
"policy",
"ids",
"=",
"null",
";",
"return",
";",
"}",
"this",
"policy",
"ids",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"policy",
"ids",
")",
";"
] |
[
"<",
"p",
">",
"the",
"identifiers",
"of",
"the",
"data",
"lifecycle",
"policies",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"... | [
"if",
"(",
"this",
"policy",
"ids",
"=",
"=",
"null",
")",
"{",
"set",
"policy",
"ids",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"policy",
"ids",
"length",
")",
")",
";",
"}",
"for",
"(",
"string",
"ele",
":",
"policy... |
[
"<",
"p",
">",
"the",
"identifiers",
"of",
"the",
"data",
"lifecycle",
"policies",
"<",
"/",
"p",
">"
] | [
"set",
"policy",
"ids",
"(",
"policy",
"ids",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"activation",
"state",
"<",
"/",
"p",
">"
] | [
"set",
"state",
"(",
"state",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"activation",
"state",
"<",
"/",
"p",
">"
] | [
"this",
"state",
"=",
"state",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"resource",
"type",
"<",
"/",
"p",
">"
] | [
"return",
"resource",
"types",
";"
] |
[
"<",
"p",
">",
"the",
"resource",
"type",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"resource",
"types",
"=",
"=",
"null",
")",
"{",
"this",
"resource",
"types",
"=",
"null",
";",
"return",
";",
"}",
"this",
"resource",
"types",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"resource",
"types",
")"... |
[
"<",
"p",
">",
"the",
"resource",
"type",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{",
"@"... | [
"if",
"(",
"this",
"resource",
"types",
"=",
"=",
"null",
")",
"{",
"set",
"resource",
"types",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"resource",
"types",
"length",
")",
")",
";",
"}",
"for",
"(",
"string",
"ele",
":... |
[
"<",
"p",
">",
"the",
"resource",
"type",
"<",
"/",
"p",
">"
] | [
"set",
"resource",
"types",
"(",
"resource",
"types",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"resource",
"type",
"<",
"/",
"p",
">"
] | [
"java",
"util",
"array",
"list",
"<",
"string",
">",
"resource",
"types",
"copy",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"resource",
"types",
"length",
")",
";",
"for",
"(",
"resource",
"type",
"values",
"value",
":",
"re... |
[
"<",
"p",
">",
"the",
"target",
"tag",
"for",
"a",
"policy",
"<",
"/",
"p",
">",
"<",
"p",
">",
"tags",
"are",
"strings",
"in",
"the",
"format",
"<",
"code",
">",
"key",
"=",
"value",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"return",
"target",
"tags",
";"
] |
[
"<",
"p",
">",
"the",
"target",
"tag",
"for",
"a",
"policy",
"<",
"/",
"p",
">",
"<",
"p",
">",
"tags",
"are",
"strings",
"in",
"the",
"format",
"<",
"code",
">",
"key",
"=",
"value",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"target",
"tags",
"=",
"=",
"null",
")",
"{",
"this",
"target",
"tags",
"=",
"null",
";",
"return",
";",
"}",
"this",
"target",
"tags",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"target",
"tags",
")",
";"
] |
[
"<",
"p",
">",
"the",
"target",
"tag",
"for",
"a",
"policy",
"<",
"/",
"p",
">",
"<",
"p",
">",
"tags",
"are",
"strings",
"in",
"the",
"format",
"<",
"code",
">",
"key",
"=",
"value",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"p",
">"... | [
"if",
"(",
"this",
"target",
"tags",
"=",
"=",
"null",
")",
"{",
"set",
"target",
"tags",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"target",
"tags",
"length",
")",
")",
";",
"}",
"for",
"(",
"string",
"ele",
":",
"tar... |
[
"<",
"p",
">",
"the",
"target",
"tag",
"for",
"a",
"policy",
"<",
"/",
"p",
">",
"<",
"p",
">",
"tags",
"are",
"strings",
"in",
"the",
"format",
"<",
"code",
">",
"key",
"=",
"value",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"set",
"target",
"tags",
"(",
"target",
"tags",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"tags",
"to",
"add",
"to",
"objects",
"created",
"by",
"the",
"policy",
"<",
"/",
"p",
">",
"<",
"p",
">",
"tags",
"are",
"strings",
"in",
"the",
"format",
"<",
"code",
">",
"key",
"=",
"value",
"<",
"/",
"code",
">",
"<",... | [
"return",
"tags",
"to",
"add",
";"
] |
[
"<",
"p",
">",
"the",
"tags",
"to",
"add",
"to",
"objects",
"created",
"by",
"the",
"policy",
"<",
"/",
"p",
">",
"<",
"p",
">",
"tags",
"are",
"strings",
"in",
"the",
"format",
"<",
"code",
">",
"key",
"=",
"value",
"<",
"/",
"code",
">",
"<",... | [
"if",
"(",
"tags",
"to",
"add",
"=",
"=",
"null",
")",
"{",
"this",
"tags",
"to",
"add",
"=",
"null",
";",
"return",
";",
"}",
"this",
"tags",
"to",
"add",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"tags",
"to",
"add... |
[
"<",
"p",
">",
"the",
"tags",
"to",
"add",
"to",
"objects",
"created",
"by",
"the",
"policy",
"<",
"/",
"p",
">",
"<",
"p",
">",
"tags",
"are",
"strings",
"in",
"the",
"format",
"<",
"code",
">",
"key",
"=",
"value",
"<",
"/",
"code",
">",
"<",... | [
"if",
"(",
"this",
"tags",
"to",
"add",
"=",
"=",
"null",
")",
"{",
"set",
"tags",
"to",
"add",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"tags",
"to",
"add",
"length",
")",
")",
";",
"}",
"for",
"(",
"string",
"ele"... |
[
"<",
"p",
">",
"the",
"tags",
"to",
"add",
"to",
"objects",
"created",
"by",
"the",
"policy",
"<",
"/",
"p",
">",
"<",
"p",
">",
"tags",
"are",
"strings",
"in",
"the",
"format",
"<",
"code",
">",
"key",
"=",
"value",
"<",
"/",
"code",
">",
"<",... | [
"set",
"tags",
"to",
"add",
"(",
"tags",
"to",
"add",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"security",
"group",
"required",
"for",
"a",
"nondefault",
"vpc",
"<",
"/",
"p",
">"
] | [
"set",
"group",
"id",
"(",
"group",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"[",
"ec2",
"-",
"classic",
"default",
"vpc",
"]",
"the",
"name",
"of",
"the",
"security",
"group",
"you",
"can",
"specify",
"either",
"the",
"security",
"group",
"name",
"or",
"the",
"security",
"group",
"id",
"<",
"/",
"p",
">"
] | [
"set",
"group",
"name",
"(",
"group",
"name",
")",
";",
"return",
"this",
";"
] |
[
"workaround",
"for",
"b",
"/",
"62528361",
"at",
"the",
"time",
"recents",
"drawn",
"event",
"is",
"sent",
"it",
"may",
"happen",
"before",
"a",
"configuration",
"change",
"to",
"the",
"divider",
"and",
"internally",
"the",
"event",
"will",
"be",
"posted",
... | [
"if",
"(",
"m",
"view",
"!",
"=",
"null",
")",
"{",
"m",
"view",
"on",
"recents",
"drawn",
"(",
")",
";",
"}"
] |
[
"the",
"name",
"of",
"the",
"action",
"must",
"be",
"unique",
"within",
"the",
"schedule"
] | [
"set",
"action",
"name",
"(",
"action",
"name",
")",
";",
"return",
"this",
";"
] |
[
"settings",
"for",
"this",
"schedule",
"action"
] | [
"this",
"schedule",
"action",
"settings",
"=",
"schedule",
"action",
"settings",
";"
] |
[
"settings",
"for",
"this",
"schedule",
"action"
] | [
"return",
"this",
"schedule",
"action",
"settings",
";"
] |
[
"settings",
"for",
"this",
"schedule",
"action"
] | [
"set",
"schedule",
"action",
"settings",
"(",
"schedule",
"action",
"settings",
")",
";",
"return",
"this",
";"
] |
[
"when",
"the",
"action",
"takes",
"effect"
] | [
"this",
"schedule",
"action",
"start",
"settings",
"=",
"schedule",
"action",
"start",
"settings",
";"
] |
[
"when",
"the",
"action",
"takes",
"effect"
] | [
"return",
"this",
"schedule",
"action",
"start",
"settings",
";"
] |
[
"when",
"the",
"action",
"takes",
"effect"
] | [
"set",
"schedule",
"action",
"start",
"settings",
"(",
"schedule",
"action",
"start",
"settings",
")",
";",
"return",
"this",
";"
] |
[
"updates",
"the",
"actions",
"that",
"depend",
"on",
"the",
"state",
"of",
"the",
"database"
] | [
"open",
"action",
"set",
"enabled",
"(",
"allow",
"connection",
"&",
"&",
"!",
"database",
"is",
"connected",
"(",
")",
"&",
"&",
"!",
"database",
"get",
"configuration",
"(",
")",
"get",
"identity",
"(",
")",
"is",
"empty",
"(",
")",
"&",
"&",
"!",
... |
[
"sets",
"the",
"state",
"that",
"says",
"whether",
"connections",
"to",
"the",
"database",
"are",
"currently",
"allowed"
] | [
"allow",
"connection",
"=",
"allowed",
";",
"update",
"actions",
"(",
"database",
")",
";"
] |
[
"like",
"{"
] | [
"fragmentation",
"magician",
"hook",
"state",
"saved",
"(",
"fragment",
"manager",
",",
"new",
"runnable",
"(",
")",
"{",
"@",
"override",
"public",
"void",
"run",
"(",
")",
"{",
"fragment",
"manager",
"pop",
"back",
"stack",
"(",
")",
";",
"}",
"}",
"... |
[
"like",
"{"
] | [
"fragmentation",
"magician",
"hook",
"state",
"saved",
"(",
"fragment",
"manager",
",",
"new",
"runnable",
"(",
")",
"{",
"@",
"override",
"public",
"void",
"run",
"(",
")",
"{",
"fragment",
"manager",
"pop",
"back",
"stack",
"immediate",
"(",
")",
";",
... |
[
"like",
"{"
] | [
"fragmentation",
"magician",
"hook",
"state",
"saved",
"(",
"fragment",
"manager",
",",
"new",
"runnable",
"(",
")",
"{",
"@",
"override",
"public",
"void",
"run",
"(",
")",
"{",
"fragment",
"manager",
"pop",
"back",
"stack",
"(",
"name",
",",
"flags",
"... |
[
"like",
"{"
] | [
"fragmentation",
"magician",
"hook",
"state",
"saved",
"(",
"fragment",
"manager",
",",
"new",
"runnable",
"(",
")",
"{",
"@",
"override",
"public",
"void",
"run",
"(",
")",
"{",
"fragment",
"manager",
"execute",
"pending",
"transactions",
"(",
")",
";",
"... |
[
"compat",
"v",
"2",
"7",
"1",
"0",
"+",
"<",
"p",
">",
"so",
"the",
"code",
"to",
"compile",
"fragmentation",
"needs",
"v",
"2",
"7",
"1",
"0",
"+"
] | [
"if",
"(",
"!",
"s",
"support",
"greater",
"than",
"2",
"7dot",
"1dot",
"0",
")",
"{",
"runnable",
"run",
"(",
")",
";",
"return",
";",
"}",
"fragment",
"manager",
"impl",
"m",
"stopped",
"=",
"false",
";",
"runnable",
"run",
"(",
")",
";",
"fragme... |
[
"<",
"strong",
">",
"internal",
"method",
"this",
"is",
"liable",
"to",
"change",
"at",
"a",
"moment",
"s",
"notice",
"<",
"/",
"strong",
">"
] | [
"url",
"resource",
"=",
"resources",
"get",
"resource",
"(",
"firefox",
"profile",
"class",
",",
"default",
"prefs",
")",
";",
"try",
"{",
"return",
"new",
"input",
"stream",
"reader",
"(",
"resource",
"open",
"stream",
"(",
")",
")",
";",
"}",
"catch",
... |
[
"attempt",
"to",
"add",
"an",
"extension",
"to",
"install",
"into",
"this",
"instance"
] | [
"add",
"extension",
"(",
"extension",
"to",
"install",
"get",
"name",
"(",
")",
",",
"new",
"file",
"extension",
"(",
"extension",
"to",
"install",
")",
")",
";"
] |
[
"set",
"a",
"preference",
"for",
"this",
"particular",
"profile",
"the",
"value",
"will",
"be",
"properly",
"quoted",
"before",
"use",
"note",
"that",
"if",
"a",
"value",
"looks",
"as",
"if",
"it",
"is",
"a",
"quoted",
"string",
"(",
"that",
"is",
"start... | [
"additional",
"prefs",
"set",
"preference",
"(",
"key",
",",
"value",
")",
";"
] |
[
"set",
"a",
"preference",
"for",
"this",
"particular",
"profile"
] | [
"additional",
"prefs",
"set",
"preference",
"(",
"key",
",",
"value",
")",
";"
] |
[
"set",
"a",
"preference",
"for",
"this",
"particular",
"profile"
] | [
"additional",
"prefs",
"set",
"preference",
"(",
"key",
",",
"value",
")",
";"
] |
[
"returns",
"whether",
"the",
"no",
"focus",
"library",
"should",
"be",
"loaded",
"for",
"firefox",
"profiles",
"launched",
"on",
"linux",
"even",
"if",
"native",
"events",
"are",
"disabled"
] | [
"return",
"load",
"no",
"focus",
"lib",
";"
] |
[
"sets",
"whether",
"the",
"no",
"focus",
"library",
"should",
"always",
"be",
"loaded",
"on",
"linux"
] | [
"this",
"load",
"no",
"focus",
"lib",
"=",
"load",
"no",
"focus",
"lib",
";"
] |
[
"sets",
"whether",
"firefox",
"should",
"accept",
"ssl",
"certificates",
"which",
"have",
"expired",
"signed",
"by",
"an",
"unknown",
"authority",
"or",
"are",
"generally",
"untrusted",
"this",
"is",
"set",
"to",
"true",
"by",
"default"
] | [
"this",
"accept",
"untrusted",
"certs",
"=",
"accept",
"untrusted",
"ssl",
";"
] |
[
"by",
"default",
"when",
"accepting",
"untrusted",
"ssl",
"certificates",
"assume",
"that",
"these",
"certificates",
"will",
"come",
"from",
"an",
"untrusted",
"issuer",
"or",
"will",
"be",
"self",
"signed",
"due",
"to",
"limitation",
"within",
"firefox",
"it",
... | [
"this",
"untrusted",
"cert",
"issuer",
"=",
"untrusted",
"issuer",
";"
] |
[
"/"
] | [
"return",
"new",
"java",
"parser",
"enum",
"declaration",
"(",
"this",
"wrapped",
"node",
",",
"type",
"solver",
")",
";"
] |
[
"process",
"<",
"em",
">",
"annotated",
"classes",
"<",
"/",
"em",
">",
"in",
"the",
"supplied",
"{"
] | [
"if",
"(",
"!",
"config",
"attributes",
"has",
"classes",
"(",
")",
"&",
"&",
"is",
"generate",
"default",
"locations",
"(",
")",
")",
"{",
"config",
"attributes",
"set",
"classes",
"(",
"detect",
"default",
"configuration",
"classes",
"(",
"config",
"attr... |
[
"detect",
"the",
"default",
"configuration",
"classes",
"for",
"the",
"supplied",
"test",
"class",
"by",
"default",
"simply",
"delegates",
"to",
"{"
] | [
"return",
"annotation",
"config",
"context",
"loader",
"utils",
"detect",
"default",
"configuration",
"classes",
"(",
"declaring",
"class",
")",
";"
] |
[
"for",
"internal",
"use",
"by",
"green",
"d",
"a",
"o",
"only"
] | [
"return",
"create",
"(",
"dao",
",",
"sql",
",",
"initial",
"values",
",",
"-",
"1",
",",
"-",
"1",
")",
";"
] |
[
"note",
":",
"all",
"parameters",
"are",
"reset",
"to",
"their",
"initial",
"values",
"specified",
"in",
"{"
] | [
"return",
"query",
"data",
"for",
"current",
"thread",
"(",
"this",
")",
";"
] |
[
"executes",
"the",
"query",
"and",
"returns",
"the",
"result",
"as",
"a",
"list",
"containing",
"all",
"entities",
"loaded",
"into",
"memory"
] | [
"check",
"thread",
"(",
")",
";",
"cursor",
"cursor",
"=",
"dao",
"get",
"database",
"(",
")",
"raw",
"query",
"(",
"sql",
",",
"parameters",
")",
";",
"return",
"dao",
"access",
"load",
"all",
"and",
"close",
"cursor",
"(",
"cursor",
")",
";"
] |
[
"executes",
"the",
"query",
"and",
"returns",
"the",
"result",
"as",
"a",
"list",
"that",
"lazy",
"loads",
"the",
"entities",
"on",
"first",
"access",
"entities",
"are",
"cached",
"so",
"accessing",
"the",
"same",
"entity",
"more",
"than",
"once",
"will",
... | [
"check",
"thread",
"(",
")",
";",
"cursor",
"cursor",
"=",
"dao",
"get",
"database",
"(",
")",
"raw",
"query",
"(",
"sql",
",",
"parameters",
")",
";",
"return",
"new",
"lazy",
"list",
"<",
"t",
">",
"(",
"dao",
"access",
",",
"cursor",
",",
"true"... |
[
"executes",
"the",
"query",
"and",
"returns",
"the",
"result",
"as",
"a",
"list",
"that",
"lazy",
"loads",
"the",
"entities",
"on",
"every",
"access",
"(",
"uncached",
")",
"make",
"sure",
"to",
"close",
"the",
"list",
"to",
"close",
"the",
"underlying",
... | [
"check",
"thread",
"(",
")",
";",
"cursor",
"cursor",
"=",
"dao",
"get",
"database",
"(",
")",
"raw",
"query",
"(",
"sql",
",",
"parameters",
")",
";",
"return",
"new",
"lazy",
"list",
"<",
"t",
">",
"(",
"dao",
"access",
",",
"cursor",
",",
"false... |
[
"executes",
"the",
"query",
"and",
"returns",
"the",
"result",
"as",
"a",
"list",
"iterator",
";",
"make",
"sure",
"to",
"close",
"it",
"to",
"close",
"the",
"underlying",
"cursor",
"the",
"cursor",
"is",
"closed",
"once",
"the",
"iterator",
"is",
"fully",... | [
"return",
"list",
"lazy",
"uncached",
"(",
")",
"list",
"iterator",
"auto",
"close",
"(",
")",
";"
] |
[
"executes",
"the",
"query",
"and",
"returns",
"the",
"unique",
"result",
"or",
"null"
] | [
"check",
"thread",
"(",
")",
";",
"cursor",
"cursor",
"=",
"dao",
"get",
"database",
"(",
")",
"raw",
"query",
"(",
"sql",
",",
"parameters",
")",
";",
"return",
"dao",
"access",
"load",
"unique",
"and",
"close",
"cursor",
"(",
"cursor",
")",
";"
] |
[
"do",
"not",
"use",
"the",
"returned",
"{",
"@",
"link",
"rx",
"transaction",
"}",
"allows",
"getting",
"query",
"results",
"using",
"rx",
"observables",
"without",
"any",
"scheduler",
"set",
"for",
"subscribe",
"on"
] | [
"if",
"(",
"rx",
"tx",
"plain",
"=",
"=",
"null",
")",
"{",
"rx",
"tx",
"plain",
"=",
"new",
"rx",
"query",
"(",
"this",
")",
";",
"}",
"return",
"rx",
"tx",
"plain",
";"
] |
[
"do",
"not",
"use",
"the",
"returned",
"{",
"@",
"link",
"rx",
"transaction",
"}",
"allows",
"getting",
"query",
"results",
"using",
"rx",
"observables",
"using",
"rx",
"s",
"io",
"scheduler",
"for",
"subscribe",
"on"
] | [
"if",
"(",
"rx",
"tx",
"io",
"=",
"=",
"null",
")",
"{",
"rx",
"tx",
"io",
"=",
"new",
"rx",
"query",
"(",
"this",
",",
"schedulers",
"io",
"(",
")",
")",
";",
"}",
"return",
"rx",
"tx",
"io",
";"
] |
[
"enable",
"transient",
"commit",
"log",
"store",
"poll",
"only",
"if",
"transient",
"store",
"pool",
"enable",
"is",
"true",
"and",
"the",
"flush",
"disk",
"type",
"is",
"async",
"flush"
] | [
"return",
"transient",
"store",
"pool",
"enable",
"&",
"&",
"flush",
"disk",
"type",
"async",
"flush",
"=",
"=",
"get",
"flush",
"disk",
"type",
"(",
")",
"&",
"&",
"broker",
"role",
"slave",
"!",
"=",
"get",
"broker",
"role",
"(",
")",
";"
] |
[
"parse",
"a",
"gct",
"dataset",
"from",
"given",
"uri"
] | [
"return",
"parse",
"(",
"new",
"file",
"(",
"uri",
")",
")",
";"
] |
[
"parse",
"a",
"gct",
"dataset",
"from",
"given",
"uri"
] | [
"return",
"parse",
"(",
"name",
",",
"new",
"file",
"(",
"uri",
")",
")",
";"
] |
[
"parse",
"a",
"gct",
"dataset",
"from",
"given",
"file"
] | [
"return",
"parse",
"(",
"new",
"file",
"(",
"path",
")",
")",
";"
] |
[
"parse",
"a",
"gct",
"dataset",
"from",
"given",
"file"
] | [
"return",
"parse",
"(",
"name",
",",
"new",
"file",
"(",
"path",
")",
")",
";"
] |
[
"parse",
"a",
"gct",
"dataset",
"from",
"given",
"file"
] | [
"return",
"parse",
"(",
"file",
"get",
"path",
"(",
")",
",",
"new",
"file",
"input",
"stream",
"(",
"file",
")",
")",
";"
] |
[
"parse",
"a",
"gct",
"dataset",
"from",
"given",
"file"
] | [
"return",
"parse",
"(",
"name",
",",
"new",
"file",
"input",
"stream",
"(",
"file",
")",
")",
";"
] |
[
"gets",
"the",
"event",
"type",
"{",
"@",
"linkplain",
"plugin",
"manager",
"#",
"plugin",
"loaded",
"event",
"}"
] | [
"return",
"plugin",
"manager",
"plugin",
"loaded",
"event",
";"
] |
[
"{"
] | [
"return",
"set",
"id",
";"
] |
[
"{"
] | [
"return",
"item",
";"
] |
[
"{"
] | [
"int",
"res",
"=",
"set",
"id",
"=",
"=",
"null",
"?",
"0",
":",
"set",
"id",
"hash",
"code",
"(",
")",
";",
"res",
"=",
"31",
"*",
"res",
"+",
"item",
"hash",
"code",
"(",
")",
";",
"return",
"res",
";"
] |
[
"{"
] | [
"if",
"(",
"this",
"=",
"=",
"o",
")",
"return",
"true",
";",
"if",
"(",
"o",
"=",
"=",
"null",
"|",
"|",
"get",
"class",
"(",
")",
"!",
"=",
"o",
"get",
"class",
"(",
")",
")",
"return",
"false",
";",
"grid",
"cache",
"set",
"item",
"key",
... |
[
"{"
] | [
"u",
"write",
"grid",
"uuid",
"(",
"out",
",",
"set",
"id",
")",
";",
"out",
"write",
"object",
"(",
"item",
")",
";"
] |
[
"{"
] | [
"set",
"id",
"=",
"u",
"read",
"grid",
"uuid",
"(",
"in",
")",
";",
"item",
"=",
"in",
"read",
"object",
"(",
")",
";"
] |
[
"{"
] | [
"return",
"s",
"to",
"string",
"(",
"grid",
"cache",
"set",
"item",
"key",
"class",
",",
"this",
")",
";"
] |
[
"the",
"request",
"parameters",
"that",
"are",
"to",
"be",
"appended",
"to",
"the",
"uri"
] | [
"return",
"request",
"params",
";"
] |
[
"the",
"key",
"to",
"the",
"state",
"to",
"preserve"
] | [
"return",
"state",
"key",
";"
] |
[
"the",
"key",
"to",
"the",
"state",
"to",
"preserve"
] | [
"this",
"state",
"key",
"=",
"state",
"key",
";"
] |
[
"some",
"state",
"that",
"needs",
"to",
"be",
"preserved",
"and",
"set",
"up",
"in",
"the",
"security",
"context",
"when",
"the",
"user",
"returns"
] | [
"return",
"state",
"to",
"preserve",
";"
] |
[
"the",
"state",
"that",
"needs",
"to",
"be",
"preserved",
"and",
"set",
"up",
"in",
"the",
"security",
"context",
"when",
"the",
"user",
"returns"
] | [
"this",
"state",
"to",
"preserve",
"=",
"state",
"to",
"preserve",
";"
] |
[
"builds",
"a",
"certificate",
"validated",
"waiter",
"by",
"using",
"custom",
"parameters",
"waiter",
"parameters",
"and",
"other",
"parameters",
"defined",
"in",
"the",
"waiters",
"specification",
"and",
"then",
"polls",
"until",
"it",
"determines",
"whether",
"t... | [
"return",
"new",
"waiter",
"builder",
"<",
"describe",
"certificate",
"request",
",",
"describe",
"certificate",
"result",
">",
"(",
")",
"with",
"sdk",
"function",
"(",
"new",
"describe",
"certificate",
"function",
"(",
"client",
")",
")",
"with",
"acceptors"... |
[
"get",
"current",
"{"
] | [
"return",
"get",
"auto",
"scaling",
"config",
"(",
"null",
")",
";"
] |
[
"refresh",
"the",
"set",
"of",
"live",
"nodes"
] | [
"refresh",
"live",
"nodes",
"(",
"null",
")",
";"
] |
[
"refresh",
"state",
"format",
"2",
"collections"
] | [
"for",
"(",
"string",
"coll",
":",
"collection",
"watches",
"key",
"set",
"(",
")",
")",
"{",
"new",
"state",
"watcher",
"(",
"coll",
")",
"refresh",
"and",
"watch",
"(",
")",
";",
"}"
] |
[
"register",
"a",
"cloud",
"collections",
"listener",
"to",
"be",
"called",
"when",
"the",
"set",
"of",
"collections",
"within",
"a",
"cloud",
"changes"
] | [
"cloud",
"collections",
"listeners",
"add",
"(",
"cloud",
"collections",
"listener",
")",
";",
"notify",
"new",
"cloud",
"collections",
"listener",
"(",
"cloud",
"collections",
"listener",
")",
";"
] |
[
"remove",
"a",
"registered",
"cloud",
"collections",
"listener"
] | [
"cloud",
"collections",
"listeners",
"remove",
"(",
"cloud",
"collections",
"listener",
")",
";"
] |
[
"get",
"shard",
"leader",
"properties",
"with",
"retry",
"if",
"none",
"exist"
] | [
"return",
"get",
"leader",
"retry",
"(",
"collection",
",",
"shard",
",",
"get",
"leader",
"retry",
"default",
"timeout",
")",
";"
] |
[
"same",
"as",
"the",
"above",
"but",
"allows",
"a",
"full",
"json",
"path",
"as",
"a",
"list",
"of",
"parts"
] | [
"t",
"value",
"=",
"(",
"t",
")",
"utils",
"get",
"object",
"by",
"path",
"(",
"cluster",
"properties",
",",
"false",
",",
"key",
"path",
")",
";",
"if",
"(",
"value",
"=",
"=",
"null",
")",
"return",
"default",
"value",
";",
"return",
"value",
";"... |
[
"get",
"all",
"cluster",
"properties",
"for",
"this",
"cluster"
] | [
"return",
"collections",
"unmodifiable",
"map",
"(",
"cluster",
"properties",
")",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.