docstring_tokens
list
code_tokens
list
[ "returns", "lock", "for", "object" ]
[ "return", "o", "=", "=", "null", "?", "locks", "[", "0", "]", ":", "get", "lock", "(", "o", "hash", "code", "(", ")", ")", ";" ]
[ "locks", "given", "key" ]
[ "get", "lock", "(", "key", ")", "lock", "(", ")", ";" ]
[ "unlocks", "given", "key" ]
[ "get", "lock", "(", "key", ")", "unlock", "(", ")", ";" ]
[ "locks", "given", "key" ]
[ "get", "lock", "(", "key", ")", "lock", "(", ")", ";" ]
[ "unlocks", "given", "key" ]
[ "get", "lock", "(", "key", ")", "unlock", "(", ")", ";" ]
[ "locks", "an", "object" ]
[ "get", "lock", "(", "o", ")", "lock", "(", ")", ";" ]
[ "unlocks", "an", "object" ]
[ "get", "lock", "(", "o", ")", "unlock", "(", ")", ";" ]
[ "prevent", "sub", "-", "classing" ]
[ "return", "new", "auto", "value", "create", "secret", "request", "v", "2", "builder", "(", ")", "description", "(", "\"", "\"", ")", "metadata", "(", "immutable", "map", "of", "(", ")", ")", "expiry", "(", "0", ")", "type", "(", "\"", "\"", ")", "g...
[ "intended", "to", "be", "package", "-", "private" ]
[ "abstract", "builder", "groups", "(", "immutable", "set", "<", "string", ">", "groups", ")", ";" ]
[ "gets", "the", "document", "which", "will", "replace", "the", "document", "matching", "the", "query", "filter" ]
[ "return", "replacement", ";" ]
[ "gets", "the", "query", "filter" ]
[ "return", "filter", ";" ]
[ "sets", "the", "query", "filter", "to", "apply", "to", "the", "query" ]
[ "this", "filter", "=", "filter", ";", "return", "this", ";" ]
[ "gets", "a", "document", "describing", "the", "fields", "to", "return", "for", "all", "matching", "documents" ]
[ "return", "projection", ";" ]
[ "sets", "a", "document", "describing", "the", "fields", "to", "return", "for", "all", "matching", "documents" ]
[ "this", "projection", "=", "projection", ";", "return", "this", ";" ]
[ "gets", "the", "sort", "criteria", "to", "apply", "to", "the", "query", "the", "default", "is", "null", "which", "means", "that", "the", "documents", "will", "be", "returned", "in", "an", "undefined", "order" ]
[ "return", "sort", ";" ]
[ "sets", "the", "sort", "criteria", "to", "apply", "to", "the", "query" ]
[ "this", "sort", "=", "sort", ";", "return", "this", ";" ]
[ "when", "false", "returns", "the", "updated", "document", "rather", "than", "the", "original", "the", "default", "is", "false" ]
[ "return", "return", "original", ";" ]
[ "set", "to", "false", "to", "return", "the", "replaced", "document", "rather", "than", "the", "original" ]
[ "this", "return", "original", "=", "return", "original", ";", "return", "this", ";" ]
[ "returns", "the", "upsert" ]
[ "return", "upsert", ";" ]
[ "set", "to", "true", "if", "a", "new", "document", "should", "be", "inserted", "if", "there", "are", "no", "matches", "to", "the", "query", "filter" ]
[ "this", "upsert", "=", "upsert", ";", "return", "this", ";" ]
[ "returns", "the", "bypass", "document", "validation" ]
[ "return", "bypass", "document", "validation", ";" ]
[ "sets", "the", "bypass", "document", "level", "validation", "flag" ]
[ "this", "bypass", "document", "validation", "=", "bypass", "document", "validation", ";", "return", "this", ";" ]
[ "returns", "the", "collation", "options" ]
[ "return", "collation", ";" ]
[ "sets", "the", "collation", "options" ]
[ "this", "collation", "=", "collation", ";", "return", "this", ";" ]
[ "sets", "the", "trusted", "verifying", "public", "keys", "of", "the", "sender" ]
[ "this", "verifying", "public", "keys", "providers", "add", "(", "new", "verifying", "public", "keys", "provider", "(", ")", "{", "@", "override", "public", "map", "<", "long", ",", "e", "c", "public", "key", ">", "get", "(", ")", "throws", "general", "...
[ "adds", "a", "verifying", "public", "key", "of", "the", "sender" ]
[ "this", "verifying", "public", "keys", "providers", "add", "(", "new", "verifying", "public", "keys", "provider", "(", ")", "{", "@", "override", "public", "map", "<", "long", ",", "e", "c", "public", "key", ">", "get", "(", ")", "throws", "general", "...
[ "adds", "a", "verifying", "public", "key", "of", "the", "sender" ]
[ "this", "verifying", "public", "keys", "providers", "add", "(", "new", "verifying", "public", "keys", "provider", "(", ")", "{", "@", "override", "public", "map", "<", "long", ",", "e", "c", "public", "key", ">", "get", "(", ")", "throws", "general", "...
[ "get", "uid", "from", "component", "name", "and", "user", "id" ]
[ "int", "uid", "=", "-", "1", ";", "try", "{", "uid", "=", "context", "get", "package", "manager", "(", ")", "get", "application", "info", "as", "user", "(", "component", "name", "get", "package", "name", "(", ")", ",", "0", ",", "user", "id", ")", ...
[ "returns", "the", "{" ]
[ "if", "(", "annotation", "default", "label", "(", ")", "is", "empty", "(", ")", ")", "{", "return", "null", ";", "}", "label", "default", "label", "=", "annotation", "default", "in", "tool", "repository", "(", ")", "?", "label", "parse", "absolute", "u...
[ "returns", "the", "skylark", "name", "of", "the", "configuration", "fragment", "that", "this", "late", "bound", "default", "requires" ]
[ "return", "fragment", "name", ";" ]
[ "returns", "the", "skylark", "name", "of", "the", "configuration", "field", "name", "as", "registered", "by", "{" ]
[ "return", "fragment", "field", "name", ";" ]
[ "for", "use", "by" ]
[ "return", "get", "default", "(", ")", ";" ]
[ "return", "client", "id", "as", "byte", "[", "]" ]
[ "uuid", "uuid", "=", "uuid", "random", "u", "u", "i", "d", "(", ")", ";", "byte", "buffer", "buf", "=", "byte", "buffer", "wrap", "(", "new", "byte", "[", "byte", "length", "]", ")", ";", "buf", "put", "long", "(", "uuid", "get", "most", "signifi...
[ "convert", "from", "client", "id", "string", "byte", "[", "]", "representation", "of", "client", "id" ]
[ "if", "(", "id", "=", "=", "null", "|", "|", "\"", "\"", "equals", "(", "id", ")", ")", "{", "return", "new", "byte", "[", "0", "]", ";", "}", "uuid", "uuid", "=", "uuid", "from", "string", "(", "id", ")", ";", "byte", "buffer", "buf", "=", ...
[ "helper", "method", "used", "to", "store", "a", "database", "for", "the", "specified", "table" ]
[ "database", "definition", "map", "put", "(", "table", ",", "database", "definition", ")", ";", "database", "name", "map", "put", "(", "database", "definition", "get", "database", "name", "(", ")", ",", "database", "definition", ")", ";", "database", "class",...
[ "destroy", "all", "the", "protocols" ]
[ "extension", "loader", "<", "protocol", ">", "loader", "=", "extension", "loader", "get", "extension", "loader", "(", "protocol", "class", ")", ";", "for", "(", "string", "protocol", "name", ":", "loader", "get", "loaded", "extensions", "(", ")", ")", "{",...
[ "creates", "a", "cached", "and", "constant", "{", "@", "link", "org", "apache", "camel", "component", "bean", "bean", "holder", "}", "from", "this", "holder" ]
[ "object", "bean", "=", "get", "bean", "(", ")", ";", "return", "new", "constant", "bean", "holder", "(", "bean", ",", "bean", "info", ")", ";" ]
[ "gets", "the", "name", "of", "the", "class", "the", "instance", "provides", "information", "for" ]
[ "return", "type", ";" ]
[ "<", "p", ">", "the", "location", "of", "the", "connection", "<", "/", "p", ">" ]
[ "this", "location", "=", "location", ";" ]
[ "<", "p", ">", "the", "location", "of", "the", "connection", "<", "/", "p", ">" ]
[ "return", "this", "location", ";" ]
[ "<", "p", ">", "the", "location", "of", "the", "connection", "<", "/", "p", ">" ]
[ "set", "location", "(", "location", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "bandwidth", "of", "the", "connection", "<", "/", "p", ">" ]
[ "this", "bandwidth", "=", "bandwidth", ";" ]
[ "<", "p", ">", "the", "bandwidth", "of", "the", "connection", "<", "/", "p", ">" ]
[ "return", "this", "bandwidth", ";" ]
[ "<", "p", ">", "the", "bandwidth", "of", "the", "connection", "<", "/", "p", ">" ]
[ "set", "bandwidth", "(", "bandwidth", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "name", "of", "the", "connection", "<", "/", "p", ">" ]
[ "this", "connection", "name", "=", "connection", "name", ";" ]
[ "<", "p", ">", "the", "name", "of", "the", "connection", "<", "/", "p", ">" ]
[ "return", "this", "connection", "name", ";" ]
[ "<", "p", ">", "the", "name", "of", "the", "connection", "<", "/", "p", ">" ]
[ "set", "connection", "name", "(", "connection", "name", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "id", "of", "the", "lag", "<", "/", "p", ">" ]
[ "this", "lag", "id", "=", "lag", "id", ";" ]
[ "<", "p", ">", "the", "id", "of", "the", "lag", "<", "/", "p", ">" ]
[ "return", "this", "lag", "id", ";" ]
[ "<", "p", ">", "the", "id", "of", "the", "lag", "<", "/", "p", ">" ]
[ "set", "lag", "id", "(", "lag", "id", ")", ";", "return", "this", ";" ]
[ "checks", "that", "if", "overload", "methods", "are", "grouped", "together", "they", "should", "not", "be", "separated", "from", "each", "other" ]
[ "final", "int", "allowed", "distance", "=", "1", ";", "detail", "a", "s", "t", "current", "token", "=", "object", "block", "get", "first", "child", "(", ")", ";", "final", "map", "<", "string", ",", "integer", ">", "method", "index", "map", "=", "new...
[ "use", "a", "criteria", "query", "-", "see", "forge", "-", "247" ]
[ "session", "session", "=", "session", "factory", "get", "current", "session", "(", ")", ";", "session", "begin", "transaction", "(", ")", ";", "list", "result", "=", "session", "create", "criteria", "(", "event", "class", ")", "set", "cacheable", "(", "tru...
[ "indicates", "that", "this", "spec", "can", "be", "used", "to", "render", "the", "specified", "spec", "<", "p", ">", "rendering", "support", "is", "not", "bi", "-", "directional", "(", "e", "g", "spec", "v", "3", "can", "render", "spec", "v", "2", "b...
[ "if", "(", "!", "m", "type", "equals", "(", "candidate", "m", "type", ")", ")", "return", "false", ";", "return", "m", "revision", ">", "=", "candidate", "m", "revision", ";" ]
[ "called", "on", "the", "agent", "to", "see", "if", "this", "restarter", "can", "work", "on", "this", "agent" ]
[ "public", "abstract", "boolean", "can", "work", "(", ")", ";" ]
[ "if", "{", "@", "link", "#", "can", "work", "(", ")", "}", "method", "returns", "true", "this", "method", "is", "called", "later", "when", "the", "connection", "is", "lost", "to", "restart", "the", "agent" ]
[ "public", "abstract", "void", "restart", "(", ")", "throws", "exception", ";" ]
[ "<", "p", ">", "the", "database", "s", "master", "user", "name", "<", "/", "p", ">" ]
[ "this", "db", "user", "=", "db", "user", ";" ]
[ "<", "p", ">", "the", "database", "s", "master", "user", "name", "<", "/", "p", ">" ]
[ "return", "this", "db", "user", ";" ]
[ "<", "p", ">", "a", "database", "user", "name", "that", "is", "authorized", "to", "log", "on", "to", "the", "database", "<", "code", ">", "db", "name", "<", "/", "code", ">", "using", "the", "password", "<", "code", ">", "db", "password", "<", "/",...
[ "set", "db", "user", "(", "db", "user", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "database", "password", "<", "/", "p", ">" ]
[ "this", "db", "password", "=", "db", "password", ";" ]
[ "<", "p", ">", "the", "database", "password", "<", "/", "p", ">" ]
[ "return", "this", "db", "password", ";" ]
[ "<", "p", ">", "a", "temporary", "password", "that", "authorizes", "the", "user", "name", "returned", "by", "<", "code", ">", "db", "user", "<", "/", "code", ">", "to", "log", "on", "to", "the", "database", "<", "code", ">", "db", "name", "<", "/",...
[ "set", "db", "password", "(", "db", "password", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "date", "on", "which", "the", "certificate", "is", "set", "to", "expire", "<", "/", "p", ">" ]
[ "this", "expiration", "=", "expiration", ";" ]
[ "<", "p", ">", "the", "date", "on", "which", "the", "certificate", "is", "set", "to", "expire", "<", "/", "p", ">" ]
[ "return", "this", "expiration", ";" ]
[ "<", "p", ">", "the", "date", "and", "time", "the", "password", "in", "<", "code", ">", "db", "password", "<", "/", "code", ">", "expires", "<", "/", "p", ">" ]
[ "set", "expiration", "(", "expiration", ")", ";", "return", "this", ";" ]
[ "{" ]
[ "return", "this", ";" ]
[ "<", "p", ">", "the", "name", "of", "the", "stream", "<", "/", "p", ">" ]
[ "this", "stream", "name", "=", "stream", "name", ";" ]
[ "<", "p", ">", "the", "name", "of", "the", "stream", "<", "/", "p", ">" ]
[ "return", "this", "stream", "name", ";" ]
[ "<", "p", ">", "the", "name", "of", "the", "stream", "<", "/", "p", ">" ]
[ "set", "stream", "name", "(", "stream", "name", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "current", "number", "of", "shards", "<", "/", "p", ">" ]
[ "this", "current", "shard", "count", "=", "current", "shard", "count", ";" ]
[ "<", "p", ">", "the", "current", "number", "of", "shards", "<", "/", "p", ">" ]
[ "return", "this", "current", "shard", "count", ";" ]
[ "<", "p", ">", "the", "current", "number", "of", "shards", "<", "/", "p", ">" ]
[ "set", "current", "shard", "count", "(", "current", "shard", "count", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "new", "number", "of", "shards", "<", "/", "p", ">" ]
[ "this", "target", "shard", "count", "=", "target", "shard", "count", ";" ]
[ "<", "p", ">", "the", "new", "number", "of", "shards", "<", "/", "p", ">" ]
[ "return", "this", "target", "shard", "count", ";" ]
[ "<", "p", ">", "the", "updated", "number", "of", "shards", "<", "/", "p", ">" ]
[ "set", "target", "shard", "count", "(", "target", "shard", "count", ")", ";", "return", "this", ";" ]
[ "{" ]
[ "stop", "all", "grids", "(", ")", ";" ]
[ "{" ]
[ "super", "set", "listener", "(", "new", "discovery", "spi", "listener", "wrapper", "(", "lsnr", ")", ")", ";" ]
[ "the", "unique", "id", "that", "specifies", "the", "detector", "that", "you", "want", "to", "delete" ]
[ "this", "detector", "id", "=", "detector", "id", ";" ]
[ "the", "unique", "id", "that", "specifies", "the", "detector", "that", "you", "want", "to", "delete" ]
[ "return", "this", "detector", "id", ";" ]
[ "the", "detector", "id", "that", "specifies", "the", "guard", "duty", "service", "where", "you", "want", "to", "list", "the", "details", "of", "the", "specified", "filter" ]
[ "set", "detector", "id", "(", "detector", "id", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "name", "of", "the", "metric", "filter", "<", "/", "p", ">" ]
[ "this", "filter", "name", "=", "filter", "name", ";" ]
[ "<", "p", ">", "the", "name", "of", "the", "metric", "filter", "<", "/", "p", ">" ]
[ "return", "this", "filter", "name", ";" ]
[ "the", "name", "of", "the", "filter", "whose", "details", "you", "want", "to", "get" ]
[ "set", "filter", "name", "(", "filter", "name", ")", ";", "return", "this", ";" ]
[ "load", "commands", "into", "buffered", "reader", "from", "the", "file" ]
[ "protected", "abstract", "buffered", "reader", "load", "file", "(", "string", "file", "name", ")", "throws", "i", "o", "exception", ";" ]
[ "define", "the", "processor", "for", "each", "hive", "command", "supported", "by", "hive" ]
[ "protected", "abstract", "int", "process", "cmd", "(", "string", "cmd", ")", ";" ]
[ "request", "a", "refresh", "on", "all", "threads" ]
[ "for", "(", "anel", "connector", "thread", "connector", "thread", ":", "connector", "threads", "values", "(", ")", ")", "{", "connector", "thread", "request", "refresh", "(", ")", ";", "}" ]
[ "there", "is", "no", "need", "to", "react", "on", "status", "changes", "because", "we", "only", "listen", "to", "commands" ]
[]
[ "called", "by", "tsdb", "to", "initialize", "the", "plugin", "implementations", "are", "responsible", "for", "setting", "up", "any", "io", "they", "need", "as", "well", "as", "starting", "any", "required", "background", "threads", "<", "b", ">", "note", ":",...
[ "public", "abstract", "config", "initialize", "(", "config", "config", ")", ";" ]
[ "called", "when", "the", "tsd", "is", "fully", "initialized", "and", "ready", "to", "handle", "traffic" ]
[ "public", "abstract", "void", "set", "ready", "(", "final", "tsdb", "tsdb", ")", ";" ]
[ "called", "to", "gracefully", "shutdown", "the", "plugin", "implementations", "should", "close", "any", "io", "they", "have", "open" ]
[ "public", "abstract", "deferred", "<", "object", ">", "shutdown", "(", ")", ";" ]
[ "should", "return", "the", "version", "of", "this", "plugin", "in", "the", "format", ":", "major", "minor", "maint", "e", "g", "2", "3", "1", "the", "major", "version", "should", "match", "the", "major", "version", "of", "open", "t", "s", "d", "b", "...
[ "public", "abstract", "string", "version", "(", ")", ";" ]
[ "called", "by", "the", "tsd", "when", "a", "request", "for", "statistics", "collection", "has", "come", "in", "the", "implementation", "may", "provide", "one", "or", "more", "statistics", "if", "no", "statistics", "are", "available", "for", "the", "implementat...
[ "public", "abstract", "void", "collect", "stats", "(", "final", "stats", "collector", "collector", ")", ";" ]
[ "create", "a", "settings", "observer", "instance" ]
[ "uri", "setting", "uri", "=", "settings", "secure", "get", "uri", "for", "(", "setting", "name", ")", ";", "return", "new", "settings", "observer", "(", "context", ",", "handler", ",", "setting", "uri", ",", "setting", "name", ")", ";" ]
[ "add", "a", "listener", "for", "setting", "changes" ]
[ "m", "settings", "listeners", "add", "(", "listener", ")", ";" ]
[ "remove", "a", "listener", "for", "setting", "changes" ]
[ "m", "settings", "listeners", "remove", "(", "listener", ")", ";" ]
[ "test", "the", "audit", "log", "format", "for", "successful", "events", "with", "the", "various", "parameters" ]
[ "test", "success", "log", "format", "helper", "(", "check", "i", "p", ",", "null", ",", "null", ",", "null", ")", ";", "test", "success", "log", "format", "helper", "(", "check", "i", "p", ",", "appid", ",", "null", ",", "null", ")", ";", "test", ...
[ "test", "the", "audit", "log", "format", "for", "failure", "events", "with", "the", "various", "parameters" ]
[ "test", "failure", "log", "format", "helper", "(", "check", "i", "p", ",", "null", ",", "null", ",", "null", ")", ";", "test", "failure", "log", "format", "helper", "(", "check", "i", "p", ",", "appid", ",", "null", ",", "null", ")", ";", "test", ...
[ "<", "p", ">", "the", "streaming", "distribution", "s", "information", "<", "/", "p", ">" ]
[ "this", "streaming", "distribution", "=", "streaming", "distribution", ";" ]
[ "<", "p", ">", "the", "streaming", "distribution", "s", "information", "<", "/", "p", ">" ]
[ "return", "this", "streaming", "distribution", ";" ]
[ "<", "p", ">", "the", "streaming", "distribution", "s", "information", "<", "/", "p", ">" ]
[ "set", "streaming", "distribution", "(", "streaming", "distribution", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "current", "version", "of", "the", "origin", "access", "identity", "s", "information", "for", "example", ":", "<", "code", ">", "e2qwruhapomqzl", "<", "/", "code", ">", "<", "/", "p", ">" ]
[ "this", "e", "tag", "=", "e", "tag", ";" ]