docstring_tokens
list
code_tokens
list
[ "derived", "classes", "may", "wish", "to", "overload", "this", "to", "prevent", "the", "default", "introspection", "of", "uri", "parameters", "on", "the", "created", "endpoint", "instance" ]
[ "return", "true", ";" ]
[ "gets", "the", "parameter", "and", "remove", "it", "from", "the", "parameter", "map", "this", "method", "doesn", "t", "resolve", "reference", "parameters", "in", "the", "registry" ]
[ "return", "get", "and", "remove", "parameter", "(", "parameters", ",", "key", ",", "type", ",", "null", ")", ";" ]
[ "gets", "the", "parameter", "and", "remove", "it", "from", "the", "parameter", "map", "this", "method", "resolves", "reference", "parameters", "in", "the", "registry", "as", "well" ]
[ "return", "get", "and", "remove", "or", "resolve", "reference", "parameter", "(", "parameters", ",", "key", ",", "type", ",", "null", ")", ";" ]
[ "gets", "the", "parameter", "and", "remove", "it", "from", "the", "parameter", "map", "this", "method", "resolves", "reference", "parameters", "in", "the", "registry", "as", "well" ]
[ "string", "value", "=", "get", "and", "remove", "parameter", "(", "parameters", ",", "key", ",", "string", "class", ")", ";", "if", "(", "value", "=", "=", "null", ")", "{", "return", "default", "value", ";", "}", "else", "if", "(", "endpoint", "helper", "is", "reference", "parameter", "(", "value", ")", ")", "{", "return", "endpoint", "helper", "resolve", "reference", "parameter", "(", "get", "camel", "context", "(", ")", ",", "value", ",", "type", ")", ";", "}", "else", "{", "return", "get", "camel", "context", "(", ")", "get", "type", "converter", "(", ")", "convert", "to", "(", "type", ",", "value", ")", ";", "}" ]
[ "resolves", "a", "reference", "parameter", "in", "the", "registry", "and", "removes", "it", "from", "the", "map" ]
[ "return", "resolve", "and", "remove", "reference", "parameter", "(", "parameters", ",", "key", ",", "type", ",", "null", ")", ";" ]
[ "resolves", "a", "reference", "parameter", "in", "the", "registry", "and", "removes", "it", "from", "the", "map" ]
[ "string", "value", "=", "get", "and", "remove", "parameter", "(", "parameters", ",", "key", ",", "string", "class", ")", ";", "if", "(", "value", "=", "=", "null", ")", "{", "return", "default", "value", ";", "}", "else", "{", "return", "endpoint", "helper", "resolve", "reference", "parameter", "(", "get", "camel", "context", "(", ")", ",", "value", ",", "type", ")", ";", "}" ]
[ "resolves", "a", "reference", "list", "parameter", "in", "the", "registry", "and", "removes", "it", "from", "the", "map" ]
[ "return", "resolve", "and", "remove", "reference", "list", "parameter", "(", "parameters", ",", "key", ",", "element", "type", ",", "new", "array", "list", "<", ">", "(", "0", ")", ")", ";" ]
[ "resolves", "a", "reference", "list", "parameter", "in", "the", "registry", "and", "removes", "it", "from", "the", "map" ]
[ "string", "value", "=", "get", "and", "remove", "parameter", "(", "parameters", ",", "key", ",", "string", "class", ")", ";", "if", "(", "value", "=", "=", "null", ")", "{", "return", "default", "value", ";", "}", "else", "{", "return", "endpoint", "helper", "resolve", "reference", "list", "parameter", "(", "get", "camel", "context", "(", ")", ",", "value", ",", "element", "type", ")", ";", "}" ]
[ "returns", "the", "reminder", "of", "the", "text", "if", "it", "starts", "with", "the", "prefix", "<", "p", "/", ">", "is", "useable", "for", "string", "parameters", "that", "contains", "commands" ]
[ "if", "(", "text", "starts", "with", "(", "prefix", ")", ")", "{", "string", "remainder", "=", "text", "substring", "(", "prefix", "length", "(", ")", ")", ";", "if", "(", "remainder", "length", "(", ")", ">", "0", ")", "{", "return", "remainder", ";", "}", "}", "return", "null", ";" ]
[ "implementations", "for", "class", "visitor" ]
[]
[ "small", "utility", "methods" ]
[ "class", "optimization", "info", "info", "=", "class", "optimization", "info", "get", "class", "optimization", "info", "(", "clazz", ")", ";", "if", "(", "info", "!", "=", "null", ")", "{", "info", "set", "caught", "(", ")", ";", "}" ]
[ "creates", "a", "simple", "file", "with", "{", "@", "code", "len", "}", "bytes" ]
[ "create", "byte", "file", "(", "fs", ",", "new", "alluxio", "u", "r", "i", "(", "file", "name", ")", ",", "options", ",", "len", ")", ";" ]
[ "creates", "a", "simple", "file", "with", "{", "@", "code", "len", "}", "bytes" ]
[ "create", "byte", "file", "(", "fs", ",", "new", "alluxio", "u", "r", "i", "(", "file", "name", ")", ",", "write", "type", ",", "len", ")", ";" ]
[ "creates", "a", "simple", "file", "with", "{", "@", "code", "len", "}", "bytes" ]
[ "create", "file", "options", "options", "=", "create", "file", "options", "defaults", "(", ")", "set", "write", "type", "(", "write", "type", ")", ";", "create", "byte", "file", "(", "fs", ",", "file", "u", "r", "i", ",", "options", ",", "len", ")", ";" ]
[ "creates", "a", "simple", "file", "with", "{", "@", "code", "len", "}", "bytes" ]
[ "try", "(", "file", "out", "stream", "os", "=", "fs", "create", "file", "(", "file", "u", "r", "i", ",", "options", ")", ")", "{", "byte", "[", "]", "arr", "=", "new", "byte", "[", "len", "]", ";", "for", "(", "int", "k", "=", "0", ";", "k", "<", "len", ";", "k", "+", "+", ")", "{", "arr", "[", "k", "]", "=", "(", "byte", ")", "k", ";", "}", "os", "write", "(", "arr", ")", ";", "}", "catch", "(", "i", "o", "exception", "|", "alluxio", "exception", "e", ")", "{", "throw", "new", "runtime", "exception", "(", "e", ")", ";", "}" ]
[ "creates", "a", "simple", "file", "with", "{", "@", "code", "len", "}", "bytes" ]
[ "create", "file", "options", "options", "=", "create", "file", "options", "defaults", "(", ")", "set", "write", "type", "(", "write", "type", ")", "set", "block", "size", "bytes", "(", "block", "capacity", "byte", ")", ";", "create", "byte", "file", "(", "fs", ",", "new", "alluxio", "u", "r", "i", "(", "file", "name", ")", ",", "options", ",", "len", ")", ";" ]
[ "returns", "a", "list", "of", "files", "at", "a", "given", "{", "@", "code", "path", "}" ]
[ "try", "{", "list", "<", "u", "r", "i", "status", ">", "statuses", "=", "fs", "list", "status", "(", "new", "alluxio", "u", "r", "i", "(", "path", ")", ")", ";", "list", "<", "string", ">", "res", "=", "new", "array", "list", "<", ">", "(", ")", ";", "for", "(", "u", "r", "i", "status", "status", ":", "statuses", ")", "{", "res", "add", "(", "status", "get", "path", "(", ")", ")", ";", "if", "(", "status", "is", "folder", "(", ")", ")", "{", "res", "add", "all", "(", "list", "files", "(", "fs", ",", "status", "get", "path", "(", ")", ")", ")", ";", "}", "}", "return", "res", ";", "}", "catch", "(", "i", "o", "exception", "|", "alluxio", "exception", "e", ")", "{", "throw", "new", "runtime", "exception", "(", "e", ")", ";", "}" ]
[ "loads", "a", "file", "into", "alluxio", "by", "reading", "it" ]
[ "try", "(", "file", "in", "stream", "is", "=", "fs", "open", "file", "(", "new", "alluxio", "u", "r", "i", "(", "file", "name", ")", ",", "open", "file", "options", "defaults", "(", ")", "set", "read", "type", "(", "read", "type", "cache", ")", ")", ")", "{", "i", "o", "utils", "copy", "(", "is", ",", "byte", "streams", "null", "output", "stream", "(", ")", ")", ";", "}", "catch", "(", "i", "o", "exception", "|", "alluxio", "exception", "e", ")", "{", "throw", "new", "runtime", "exception", "(", "e", ")", ";", "}" ]
[ "converts", "a", "{", "@", "link", "create", "file", "options", "}", "object", "to", "an", "{", "@", "link", "open", "file", "options", "}", "object", "with", "a", "matching", "alluxio", "storage", "type" ]
[ "if", "(", "op", "get", "write", "type", "(", ")", "get", "alluxio", "storage", "type", "(", ")", "is", "store", "(", ")", ")", "{", "return", "open", "file", "options", "defaults", "(", ")", "set", "read", "type", "(", "read", "type", "cache", ")", ";", "}", "return", "open", "file", "options", "defaults", "(", ")", "set", "read", "type", "(", "read", "type", "no", "cache", ")", ";" ]
[ "<", "p", ">", "the", "url", "of", "the", "amazon", "sqs", "queue", "from", "which", "permissions", "are", "removed", "<", "/", "p", ">", "<", "p", ">", "queue", "u", "r", "ls", "and", "names", "are", "case", "-", "sensitive", "<", "/", "p", ">" ]
[ "return", "this", "queue", "url", ";" ]
[ "<", "p", ">", "the", "url", "of", "the", "amazon", "sqs", "queue", "to", "which", "a", "message", "is", "sent", "<", "/", "p", ">", "<", "p", ">", "queue", "u", "r", "ls", "and", "names", "are", "case", "-", "sensitive", "<", "/", "p", ">" ]
[ "set", "queue", "url", "(", "queue", "url", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "message", "<", "/", "p", ">" ]
[ "this", "message", "body", "=", "message", "body", ";" ]
[ "<", "p", ">", "the", "message", "<", "/", "p", ">" ]
[ "return", "this", "message", "body", ";" ]
[ "<", "p", ">", "the", "message", "to", "send", "the", "maximum", "string", "size", "is", "256", "kb", "<", "/", "p", ">", "<", "important", ">", "<", "p", ">", "a", "message", "can", "include", "only", "xml", "json", "and", "unformatted", "text", "the", "following", "unicode", "characters", "are", "allowed", ":", "<", "/", "p", ">", "<", "p", ">", "<", "code", ">", "#", "x", "9", "<", "/", "code", ">", "|", "<", "code", ">", "#", "x", "a", "<", "/", "code", ">", "|", "<", "code", ">", "#", "x", "d", "<", "/", "code", ">", "|", "<", "code", ">", "#", "x", "2", "0", "<", "/", "code", ">", "to", "<", "code", ">", "#", "x", "d", "7", "f", "f", "<", "/", "code", ">", "|", "<", "code", ">", "#", "x", "e", "0", "0", "0", "<", "/", "code", ">", "to", "<", "code", ">", "#", "x", "f", "f", "f", "d", "<", "/", "code", ">", "|", "<", "code", ">", "#", "x", "1", "0", "0", "0", "0", "<", "/", "code", ">", "to", "<", "code", ">", "#", "x", "1", "0", "f", "f", "f", "f", "<", "/", "code", ">", "<", "/", "p", ">", "<", "p", ">", "any", "characters", "not", "included", "in", "this", "list", "will", "be", "rejected", "for", "more", "information", "see", "the", "<", "a", "href", "=", "http", ":", "/", "/", "www", "w", "3", "org", "/", "tr", "/", "rec", "-", "xml", "/", "#", "charsets", ">", "w3c", "specification", "for", "characters", "<", "/", "a", ">", "<", "/", "p", ">", "<", "/", "important", ">" ]
[ "set", "message", "body", "(", "message", "body", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "length", "of", "time", "in", "seconds", "for", "which", "a", "specific", "message", "is", "delayed", "valid", "values", ":", "0", "to", "900", "maximum", ":", "15", "minutes", "messages", "with", "a", "positive", "<", "code", ">", "delay", "seconds", "<", "/", "code", ">", "value", "become", "available", "for", "processing", "after", "the", "delay", "period", "is", "finished", "if", "you", "don", "t", "specify", "a", "value", "the", "default", "value", "for", "the", "queue", "is", "applied", "<", "/", "p", ">", "<", "note", ">", "<", "p", ">", "when", "you", "set", "<", "code", ">", "fifo", "queue", "<", "/", "code", ">", "you", "can", "t", "set", "<", "code", ">", "delay", "seconds", "<", "/", "code", ">", "per", "message", "you", "can", "set", "this", "parameter", "only", "on", "a", "queue", "level", "<", "/", "p", ">", "<", "/", "note", ">" ]
[ "return", "this", "delay", "seconds", ";" ]
[ "<", "p", ">", "the", "length", "of", "time", "in", "seconds", "for", "which", "to", "delay", "a", "specific", "message", "valid", "values", ":", "0", "to", "900", "maximum", ":", "15", "minutes", "messages", "with", "a", "positive", "<", "code", ">", "delay", "seconds", "<", "/", "code", ">", "value", "become", "available", "for", "processing", "after", "the", "delay", "period", "is", "finished", "if", "you", "don", "t", "specify", "a", "value", "the", "default", "value", "for", "the", "queue", "applies", "<", "/", "p", ">", "<", "note", ">", "<", "p", ">", "when", "you", "set", "<", "code", ">", "fifo", "queue", "<", "/", "code", ">", "you", "can", "t", "set", "<", "code", ">", "delay", "seconds", "<", "/", "code", ">", "per", "message", "you", "can", "set", "this", "parameter", "only", "on", "a", "queue", "level", "<", "/", "p", ">", "<", "/", "note", ">" ]
[ "set", "delay", "seconds", "(", "delay", "seconds", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "message", "attributes", "for", "publish", "action", "<", "/", "p", ">" ]
[ "if", "(", "message", "attributes", "=", "=", "null", ")", "{", "message", "attributes", "=", "new", "com", "amazonaws", "internal", "sdk", "internal", "map", "<", "string", ",", "message", "attribute", "value", ">", "(", ")", ";", "}", "return", "message", "attributes", ";" ]
[ "<", "p", ">", "message", "attributes", "for", "publish", "action", "<", "/", "p", ">" ]
[ "this", "message", "attributes", "=", "message", "attributes", "=", "=", "null", "?", "null", ":", "new", "com", "amazonaws", "internal", "sdk", "internal", "map", "<", "string", ",", "message", "attribute", "value", ">", "(", "message", "attributes", ")", ";" ]
[ "<", "p", ">", "each", "message", "attribute", "consists", "of", "a", "<", "code", ">", "name", "<", "/", "code", ">", "<", "code", ">", "type", "<", "/", "code", ">", "and", "<", "code", ">", "value", "<", "/", "code", ">", "for", "more", "information", "see", "<", "a", "href", "=", "http", ":", "/", "/", "docs", "aws", "amazon", "com", "/", "a", "w", "s", "simple", "queue", "service", "/", "latest", "/", "s", "q", "s", "developer", "guide", "/", "sqs", "-", "message", "-", "attributes", "html", ">", "amazon", "sqs", "message", "attributes", "<", "/", "a", ">", "in", "the", "<", "i", ">", "amazon", "simple", "queue", "service", "developer", "guide", "<", "/", "i", ">", "<", "/", "p", ">" ]
[ "set", "message", "attributes", "(", "message", "attributes", ")", ";", "return", "this", ";" ]
[ "removes", "all", "the", "entries", "added", "into", "message", "attributes" ]
[ "this", "message", "attributes", "=", "null", ";", "return", "this", ";" ]
[ "<", "p", ">", "this", "parameter", "applies", "only", "to", "fifo", "(", "first", "-", "in", "-", "first", "-", "out", ")", "queues", "<", "/", "p", ">", "<", "p", ">", "the", "token", "used", "for", "deduplication", "of", "messages", "within", "a", "5", "-", "minute", "minimum", "deduplication", "interval", "if", "a", "message", "with", "a", "particular", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "is", "sent", "successfully", "subsequent", "messages", "with", "the", "same", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "are", "accepted", "successfully", "but", "aren", "t", "delivered", "for", "more", "information", "see", "<", "a", "href", "=", "http", ":", "/", "/", "docs", "aws", "amazon", "com", "/", "a", "w", "s", "simple", "queue", "service", "/", "latest", "/", "s", "q", "s", "developer", "guide", "/", "fifo", "-", "queues", "html", "#", "fifo", "-", "queues", "-", "exactly", "-", "once", "-", "processing", ">", "exactly", "-", "once", "processing", "<", "/", "a", ">", "in", "the", "<", "i", ">", "amazon", "simple", "queue", "service", "developer", "guide", "<", "/", "i", ">", "<", "/", "p", ">", "<", "ul", ">", "<", "li", ">", "<", "p", ">", "every", "message", "must", "have", "a", "unique", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "<", "/", "p", ">", "<", "ul", ">", "<", "li", ">", "<", "p", ">", "you", "may", "provide", "a", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "explicitly", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "if", "you", "aren", "t", "able", "to", "provide", "a", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "and", "you", "enable", "<", "code", ">", "content", "based", "deduplication", "<", "/", "code", ">", "for", "your", "queue", "amazon", "sqs", "uses", "a", "sha", "-", "256", "hash", "to", "generate", "the", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "using", "the", "body", "of", "the", "message", "(", "but", "not", "the", "attributes", "of", "the", "message", ")", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "if", "you", "don", "t", "provide", "a", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "and", "the", "queue", "doesn", "t", "have", "<", "code", ">", "content", "based", "deduplication", "<", "/", "code", ">", "set", "the", "action", "fails", "with", "an", "error", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "if", "the", "queue", "has", "<", "code", ">", "content", "based", "deduplication", "<", "/", "code", ">", "set", "your", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "overrides", "the", "generated", "one", "<", "/", "p", ">", "<", "/", "li", ">", "<", "/", "ul", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "when", "<", "code", ">", "content", "based", "deduplication", "<", "/", "code", ">", "is", "in", "effect", "messages", "with", "identical", "content", "sent", "within", "the", "deduplication", "interval", "are", "treated", "as", "duplicates", "and", "only", "one", "copy", "of", "the", "message", "is", "delivered", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "if", "you", "send", "one", "message", "with", "<", "code", ">", "content", "based", "deduplication", "<", "/", "code", ">", "enabled", "and", "then", "another", "message", "with", "a", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "that", "is", "the", "same", "as", "the", "one", "generated", "for", "the", "first", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "the", "two", "messages", "are", "treated", "as", "duplicates", "and", "only", "one", "copy", "of", "the", "message", "is", "delivered", "<", "/", "p", ">", "<", "/", "li", ">", "<", "/", "ul", ">", "<", "note", ">", "<", "p", ">", "the", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "is", "available", "to", "the", "consumer", "of", "the", "message", "(", "this", "can", "be", "useful", "for", "troubleshooting", "delivery", "issues", ")", "<", "/", "p", ">", "<", "p", ">", "if", "a", "message", "is", "sent", "successfully", "but", "the", "acknowledgement", "is", "lost", "and", "the", "message", "is", "resent", "with", "the", "same", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "after", "the", "deduplication", "interval", "amazon", "sqs", "can", "t", "detect", "duplicate", "messages", "<", "/", "p", ">", "<", "p", ">", "amazon", "sqs", "continues", "to", "keep", "track", "of", "the", "message", "deduplication", "id", "even", "after", "the", "message", "is", "received", "and", "deleted", "<", "/", "p", ">", "<", "/", "note", ">", "<", "p", ">", "the", "length", "of", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "is", "128", "characters", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "can", "contain", "alphanumeric", "characters", "(", "<", "code", ">", "a", "-", "z", "<", "/", "code", ">", "<", "code", ">", "a", "-", "z", "<", "/", "code", ">", "<", "code", ">", "0", "-", "9", "<", "/", "code", ">", ")", "and", "punctuation", "(", "<", "code", ">", "!", "#", "$", "%", "&", "amp", ";", "(", ")", "*", "+", "-", "/", ":", ";", "&", "lt", ";", "=", "&", "gt", ";", "?", "@", "[", "\\", "]", "^", "{", "|", "}", "~", "<", "/", "code", ">", ")", "<", "/", "p", ">", "<", "p", ">", "for", "best", "practices", "of", "using", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "see", "<", "a", "href", "=", "http", ":", "/", "/", "docs", "aws", "amazon", "com", "/", "a", "w", "s", "simple", "queue", "service", "/", "latest", "/", "s", "q", "s", "developer", "guide", "/", "using", "-", "messagededuplicationid", "-", "property", "html", ">", "using", "the", "message", "deduplication", "id", "property", "<", "/", "a", ">", "in", "the", "<", "i", ">", "amazon", "simple", "queue", "service", "developer", "guide", "<", "/", "i", ">", "<", "/", "p", ">" ]
[ "this", "message", "deduplication", "id", "=", "message", "deduplication", "id", ";" ]
[ "<", "p", ">", "this", "parameter", "applies", "only", "to", "fifo", "(", "first", "-", "in", "-", "first", "-", "out", ")", "queues", "<", "/", "p", ">", "<", "p", ">", "the", "token", "used", "for", "deduplication", "of", "messages", "within", "a", "5", "-", "minute", "minimum", "deduplication", "interval", "if", "a", "message", "with", "a", "particular", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "is", "sent", "successfully", "subsequent", "messages", "with", "the", "same", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "are", "accepted", "successfully", "but", "aren", "t", "delivered", "for", "more", "information", "see", "<", "a", "href", "=", "http", ":", "/", "/", "docs", "aws", "amazon", "com", "/", "a", "w", "s", "simple", "queue", "service", "/", "latest", "/", "s", "q", "s", "developer", "guide", "/", "fifo", "-", "queues", "html", "#", "fifo", "-", "queues", "-", "exactly", "-", "once", "-", "processing", ">", "exactly", "-", "once", "processing", "<", "/", "a", ">", "in", "the", "<", "i", ">", "amazon", "simple", "queue", "service", "developer", "guide", "<", "/", "i", ">", "<", "/", "p", ">", "<", "ul", ">", "<", "li", ">", "<", "p", ">", "every", "message", "must", "have", "a", "unique", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "<", "/", "p", ">", "<", "ul", ">", "<", "li", ">", "<", "p", ">", "you", "may", "provide", "a", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "explicitly", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "if", "you", "aren", "t", "able", "to", "provide", "a", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "and", "you", "enable", "<", "code", ">", "content", "based", "deduplication", "<", "/", "code", ">", "for", "your", "queue", "amazon", "sqs", "uses", "a", "sha", "-", "256", "hash", "to", "generate", "the", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "using", "the", "body", "of", "the", "message", "(", "but", "not", "the", "attributes", "of", "the", "message", ")", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "if", "you", "don", "t", "provide", "a", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "and", "the", "queue", "doesn", "t", "have", "<", "code", ">", "content", "based", "deduplication", "<", "/", "code", ">", "set", "the", "action", "fails", "with", "an", "error", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "if", "the", "queue", "has", "<", "code", ">", "content", "based", "deduplication", "<", "/", "code", ">", "set", "your", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "overrides", "the", "generated", "one", "<", "/", "p", ">", "<", "/", "li", ">", "<", "/", "ul", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "when", "<", "code", ">", "content", "based", "deduplication", "<", "/", "code", ">", "is", "in", "effect", "messages", "with", "identical", "content", "sent", "within", "the", "deduplication", "interval", "are", "treated", "as", "duplicates", "and", "only", "one", "copy", "of", "the", "message", "is", "delivered", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "if", "you", "send", "one", "message", "with", "<", "code", ">", "content", "based", "deduplication", "<", "/", "code", ">", "enabled", "and", "then", "another", "message", "with", "a", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "that", "is", "the", "same", "as", "the", "one", "generated", "for", "the", "first", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "the", "two", "messages", "are", "treated", "as", "duplicates", "and", "only", "one", "copy", "of", "the", "message", "is", "delivered", "<", "/", "p", ">", "<", "/", "li", ">", "<", "/", "ul", ">", "<", "note", ">", "<", "p", ">", "the", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "is", "available", "to", "the", "consumer", "of", "the", "message", "(", "this", "can", "be", "useful", "for", "troubleshooting", "delivery", "issues", ")", "<", "/", "p", ">", "<", "p", ">", "if", "a", "message", "is", "sent", "successfully", "but", "the", "acknowledgement", "is", "lost", "and", "the", "message", "is", "resent", "with", "the", "same", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "after", "the", "deduplication", "interval", "amazon", "sqs", "can", "t", "detect", "duplicate", "messages", "<", "/", "p", ">", "<", "p", ">", "amazon", "sqs", "continues", "to", "keep", "track", "of", "the", "message", "deduplication", "id", "even", "after", "the", "message", "is", "received", "and", "deleted", "<", "/", "p", ">", "<", "/", "note", ">", "<", "p", ">", "the", "length", "of", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "is", "128", "characters", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "can", "contain", "alphanumeric", "characters", "(", "<", "code", ">", "a", "-", "z", "<", "/", "code", ">", "<", "code", ">", "a", "-", "z", "<", "/", "code", ">", "<", "code", ">", "0", "-", "9", "<", "/", "code", ">", ")", "and", "punctuation", "(", "<", "code", ">", "!", "#", "$", "%", "&", "amp", ";", "(", ")", "*", "+", "-", "/", ":", ";", "&", "lt", ";", "=", "&", "gt", ";", "?", "@", "[", "\\", "]", "^", "{", "|", "}", "~", "<", "/", "code", ">", ")", "<", "/", "p", ">", "<", "p", ">", "for", "best", "practices", "of", "using", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "see", "<", "a", "href", "=", "http", ":", "/", "/", "docs", "aws", "amazon", "com", "/", "a", "w", "s", "simple", "queue", "service", "/", "latest", "/", "s", "q", "s", "developer", "guide", "/", "using", "-", "messagededuplicationid", "-", "property", "html", ">", "using", "the", "message", "deduplication", "id", "property", "<", "/", "a", ">", "in", "the", "<", "i", ">", "amazon", "simple", "queue", "service", "developer", "guide", "<", "/", "i", ">", "<", "/", "p", ">" ]
[ "return", "this", "message", "deduplication", "id", ";" ]
[ "<", "p", ">", "this", "parameter", "applies", "only", "to", "fifo", "(", "first", "-", "in", "-", "first", "-", "out", ")", "queues", "<", "/", "p", ">", "<", "p", ">", "the", "token", "used", "for", "deduplication", "of", "sent", "messages", "if", "a", "message", "with", "a", "particular", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "is", "sent", "successfully", "any", "messages", "sent", "with", "the", "same", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "are", "accepted", "successfully", "but", "aren", "t", "delivered", "during", "the", "5", "-", "minute", "deduplication", "interval", "for", "more", "information", "see", "<", "a", "href", "=", "http", ":", "/", "/", "docs", "aws", "amazon", "com", "/", "a", "w", "s", "simple", "queue", "service", "/", "latest", "/", "s", "q", "s", "developer", "guide", "/", "fifo", "-", "queues", "html", "#", "fifo", "-", "queues", "-", "exactly", "-", "once", "-", "processing", ">", "exactly", "-", "once", "processing", "<", "/", "a", ">", "in", "the", "<", "i", ">", "amazon", "simple", "queue", "service", "developer", "guide", "<", "/", "i", ">", "<", "/", "p", ">", "<", "ul", ">", "<", "li", ">", "<", "p", ">", "every", "message", "must", "have", "a", "unique", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "<", "/", "p", ">", "<", "ul", ">", "<", "li", ">", "<", "p", ">", "you", "may", "provide", "a", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "explicitly", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "if", "you", "aren", "t", "able", "to", "provide", "a", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "and", "you", "enable", "<", "code", ">", "content", "based", "deduplication", "<", "/", "code", ">", "for", "your", "queue", "amazon", "sqs", "uses", "a", "sha", "-", "256", "hash", "to", "generate", "the", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "using", "the", "body", "of", "the", "message", "(", "but", "not", "the", "attributes", "of", "the", "message", ")", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "if", "you", "don", "t", "provide", "a", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "and", "the", "queue", "doesn", "t", "have", "<", "code", ">", "content", "based", "deduplication", "<", "/", "code", ">", "set", "the", "action", "fails", "with", "an", "error", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "if", "the", "queue", "has", "<", "code", ">", "content", "based", "deduplication", "<", "/", "code", ">", "set", "your", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "overrides", "the", "generated", "one", "<", "/", "p", ">", "<", "/", "li", ">", "<", "/", "ul", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "when", "<", "code", ">", "content", "based", "deduplication", "<", "/", "code", ">", "is", "in", "effect", "messages", "with", "identical", "content", "sent", "within", "the", "deduplication", "interval", "are", "treated", "as", "duplicates", "and", "only", "one", "copy", "of", "the", "message", "is", "delivered", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "if", "you", "send", "one", "message", "with", "<", "code", ">", "content", "based", "deduplication", "<", "/", "code", ">", "enabled", "and", "then", "another", "message", "with", "a", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "that", "is", "the", "same", "as", "the", "one", "generated", "for", "the", "first", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "the", "two", "messages", "are", "treated", "as", "duplicates", "and", "only", "one", "copy", "of", "the", "message", "is", "delivered", "<", "/", "p", ">", "<", "/", "li", ">", "<", "/", "ul", ">", "<", "note", ">", "<", "p", ">", "the", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "is", "available", "to", "the", "consumer", "of", "the", "message", "(", "this", "can", "be", "useful", "for", "troubleshooting", "delivery", "issues", ")", "<", "/", "p", ">", "<", "p", ">", "if", "a", "message", "is", "sent", "successfully", "but", "the", "acknowledgement", "is", "lost", "and", "the", "message", "is", "resent", "with", "the", "same", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "after", "the", "deduplication", "interval", "amazon", "sqs", "can", "t", "detect", "duplicate", "messages", "<", "/", "p", ">", "<", "p", ">", "amazon", "sqs", "continues", "to", "keep", "track", "of", "the", "message", "deduplication", "id", "even", "after", "the", "message", "is", "received", "and", "deleted", "<", "/", "p", ">", "<", "/", "note", ">", "<", "p", ">", "the", "length", "of", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "is", "128", "characters", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "can", "contain", "alphanumeric", "characters", "(", "<", "code", ">", "a", "-", "z", "<", "/", "code", ">", "<", "code", ">", "a", "-", "z", "<", "/", "code", ">", "<", "code", ">", "0", "-", "9", "<", "/", "code", ">", ")", "and", "punctuation", "(", "<", "code", ">", "!", "#", "$", "%", "&", "amp", ";", "(", ")", "*", "+", "-", "/", ":", ";", "&", "lt", ";", "=", "&", "gt", ";", "?", "@", "[", "\\", "]", "^", "{", "|", "}", "~", "<", "/", "code", ">", ")", "<", "/", "p", ">", "<", "p", ">", "for", "best", "practices", "of", "using", "<", "code", ">", "message", "deduplication", "id", "<", "/", "code", ">", "see", "<", "a", "href", "=", "http", ":", "/", "/", "docs", "aws", "amazon", "com", "/", "a", "w", "s", "simple", "queue", "service", "/", "latest", "/", "s", "q", "s", "developer", "guide", "/", "using", "-", "messagededuplicationid", "-", "property", "html", ">", "using", "the", "message", "deduplication", "id", "property", "<", "/", "a", ">", "in", "the", "<", "i", ">", "amazon", "simple", "queue", "service", "developer", "guide", "<", "/", "i", ">", "<", "/", "p", ">" ]
[ "set", "message", "deduplication", "id", "(", "message", "deduplication", "id", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "fifo", "message", "group", "id", "to", "use", "as", "the", "target", "<", "/", "p", ">" ]
[ "this", "message", "group", "id", "=", "message", "group", "id", ";" ]
[ "<", "p", ">", "the", "fifo", "message", "group", "id", "to", "use", "as", "the", "target", "<", "/", "p", ">" ]
[ "return", "this", "message", "group", "id", ";" ]
[ "<", "p", ">", "this", "parameter", "applies", "only", "to", "fifo", "(", "first", "-", "in", "-", "first", "-", "out", ")", "queues", "<", "/", "p", ">", "<", "p", ">", "the", "tag", "that", "specifies", "that", "a", "message", "belongs", "to", "a", "specific", "message", "group", "messages", "that", "belong", "to", "the", "same", "message", "group", "are", "processed", "in", "a", "fifo", "manner", "(", "however", "messages", "in", "different", "message", "groups", "might", "be", "processed", "out", "of", "order", ")", "to", "interleave", "multiple", "ordered", "streams", "within", "a", "single", "queue", "use", "<", "code", ">", "message", "group", "id", "<", "/", "code", ">", "values", "(", "for", "example", "session", "data", "for", "multiple", "users", ")", "in", "this", "scenario", "multiple", "consumers", "can", "process", "the", "queue", "but", "the", "session", "data", "of", "each", "user", "is", "processed", "in", "a", "fifo", "fashion", "<", "/", "p", ">", "<", "ul", ">", "<", "li", ">", "<", "p", ">", "you", "must", "associate", "a", "non", "-", "empty", "<", "code", ">", "message", "group", "id", "<", "/", "code", ">", "with", "a", "message", "if", "you", "don", "t", "provide", "a", "<", "code", ">", "message", "group", "id", "<", "/", "code", ">", "the", "action", "fails", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "receive", "message", "<", "/", "code", ">", "might", "return", "messages", "with", "multiple", "<", "code", ">", "message", "group", "id", "<", "/", "code", ">", "values", "for", "each", "<", "code", ">", "message", "group", "id", "<", "/", "code", ">", "the", "messages", "are", "sorted", "by", "time", "sent", "the", "caller", "can", "t", "specify", "a", "<", "code", ">", "message", "group", "id", "<", "/", "code", ">", "<", "/", "p", ">", "<", "/", "li", ">", "<", "/", "ul", ">", "<", "p", ">", "the", "length", "of", "<", "code", ">", "message", "group", "id", "<", "/", "code", ">", "is", "128", "characters", "valid", "values", ":", "alphanumeric", "characters", "and", "punctuation", "<", "code", ">", "(", "!", "#", "$", "%", "&", "amp", ";", "(", ")", "*", "+", "-", "/", ":", ";", "&", "lt", ";", "=", "&", "gt", ";", "?", "@", "[", "\\", "]", "^", "{", "|", "}", "~", ")", "<", "/", "code", ">", "<", "/", "p", ">", "<", "p", ">", "for", "best", "practices", "of", "using", "<", "code", ">", "message", "group", "id", "<", "/", "code", ">", "see", "<", "a", "href", "=", "http", ":", "/", "/", "docs", "aws", "amazon", "com", "/", "a", "w", "s", "simple", "queue", "service", "/", "latest", "/", "s", "q", "s", "developer", "guide", "/", "using", "-", "messagegroupid", "-", "property", "html", ">", "using", "the", "message", "group", "id", "property", "<", "/", "a", ">", "in", "the", "<", "i", ">", "amazon", "simple", "queue", "service", "developer", "guide", "<", "/", "i", ">", "<", "/", "p", ">", "<", "important", ">", "<", "p", ">", "<", "code", ">", "message", "group", "id", "<", "/", "code", ">", "is", "required", "for", "fifo", "queues", "you", "can", "t", "use", "it", "for", "standard", "queues", "<", "/", "p", ">", "<", "/", "important", ">" ]
[ "set", "message", "group", "id", "(", "message", "group", "id", ")", ";", "return", "this", ";" ]
[ "stem", "a", "latvian", "word", "returns", "the", "new", "adjusted", "length" ]
[ "int", "num", "vowels", "=", "num", "vowels", "(", "s", ",", "len", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "affixes", "length", ";", "i", "+", "+", ")", "{", "affix", "affix", "=", "affixes", "[", "i", "]", ";", "if", "(", "num", "vowels", ">", "affix", "vc", "&", "&", "len", ">", "=", "affix", "affix", "length", "+", "3", "&", "&", "ends", "with", "(", "s", ",", "len", ",", "affix", "affix", ")", ")", "{", "len", "-", "=", "affix", "affix", "length", ";", "return", "affix", "palatalizes", "?", "unpalatalize", "(", "s", ",", "len", ")", ":", "len", ";", "}", "}", "return", "len", ";" ]
[ "reset", "the", "state", "of", "the", "instance", "to", "default", "non", "-", "initialized", "values" ]
[ "m", "restore", "instance", "state", "=", "false", ";", "m", "call", "on", "post", "create", "=", "false", ";", "m", "old", "state", "=", "null", ";", "m", "stop", "info", "=", "null", ";" ]
[ "getter" ]
[ "return", "m", "restore", "instance", "state", ";" ]
[ "getter" ]
[ "return", "m", "call", "on", "post", "create", ";" ]
[ "check", "if", "we", "should", "report", "an", "activity", "relaunch", "to", "window", "manager", "we", "report", "back", "for", "every", "relaunch", "request", "to", "activity", "manager", "but", "only", "for", "those", "that", "were", "actually", "finished", "to", "we", "report", "to", "window", "manager" ]
[ "return", "m", "report", "relaunch", "to", "w", "m", ";" ]
[ "set", "if", "we", "should", "report", "an", "activity", "relaunch", "to", "window", "manager", "we", "report", "back", "for", "every", "relaunch", "request", "to", "activity", "manager", "but", "only", "for", "those", "that", "were", "actually", "finished", "we", "report", "to", "window", "manager" ]
[ "m", "report", "relaunch", "to", "w", "m", "=", "report", "to", "wm", ";" ]
[ "called", "while", "holding", "class", "lock" ]
[ "if", "(", "class", "cache", "mode", "!", "=", "user", "code", "deployment", "config", "class", "cache", "mode", "off", ")", "{", "class", "source", "map", "put", "(", "outer", "class", "name", ",", "class", "source", ")", ";", "}", "else", "{", "thread", "local", "class", "cache", "store", "(", "outer", "class", "name", ",", "class", "source", ")", ";", "}" ]
[ "for", "android", "3", "0", "+" ]
[ "open", "file", "chooser", "(", "upload", "msg", ")", ";" ]
[ "for", "android", ">", "4", "1", "1" ]
[ "open", "file", "chooser", "(", "upload", "msg", ",", "accept", "type", ")", ";" ]
[ "set", "view", "type", "of", "current", "{" ]
[ "throw", "new", "unsupported", "operation", "exception", "(", ")", ";" ]
[ "creates", "a", "new", "permission", "ticket", "for", "a", "single", "resource", "and", "scope", "(", "s", ")" ]
[ "return", "create", "(", "arrays", "as", "list", "(", "request", ")", ")", ";" ]
[ "returns", "the", "requester", "hostname" ]
[ "return", "hostname", "tl", "get", "(", ")", ";" ]
[ "recognizes", "if", "component", "is", "executed", "in", "the", "o", "s", "gi", "environment" ]
[ "return", "platform", "helper", "is", "osgi", "context", "(", "get", "camel", "context", "(", ")", ")", ";" ]
[ "<", "p", ">", "the", "name", "of", "the", "task", "group", "to", "associate", "with", "the", "task", "the", "default", "value", "is", "the", "family", "name", "of", "the", "task", "definition", "(", "for", "example", "family", ":", "my", "-", "family", "-", "name", ")", "<", "/", "p", ">" ]
[ "this", "group", "=", "group", ";" ]
[ "specify", "a", "jsr", "-", "303", "{" ]
[ "this", "validation", "provider", "resolver", "=", "validation", "provider", "resolver", ";" ]
[ "return", "{", "@", "code", "message", "interpolator", "}", "implementation", "used", "for", "configuration" ]
[ "return", "message", "interpolator", ";" ]
[ "specify", "a", "custom", "message", "interpolator", "to", "use", "for", "this", "validator", "factory", "and", "its", "exposed", "default", "validator" ]
[ "this", "message", "interpolator", "=", "message", "interpolator", ";" ]
[ "return", "{", "@", "code", "traversable", "resolver", "}", "implementation", "used", "for", "configuration" ]
[ "return", "traversable", "resolver", ";" ]
[ "specify", "a", "custom", "traversable", "resolver", "to", "use", "for", "this", "validator", "factory", "and", "its", "exposed", "default", "validator" ]
[ "this", "traversable", "resolver", "=", "traversable", "resolver", ";" ]
[ "return", "{", "@", "code", "constraint", "validator", "factory", "}", "implementation", "used", "for", "configuration" ]
[ "return", "constraint", "validator", "factory", ";" ]
[ "specify", "a", "custom", "constraint", "validator", "factory", "to", "use", "for", "this", "validator", "factory", "<", "p", ">", "default", "is", "a", "{" ]
[ "this", "constraint", "validator", "factory", "=", "constraint", "validator", "factory", ";" ]
[ "<", "p", ">", "the", "iam", "user", "s", "current", "password", "<", "/", "p", ">" ]
[ "this", "old", "password", "=", "old", "password", ";" ]
[ "check", "for", "equality", "that", "can", "be", "applied", "to", "each", "kind", "of", "node", "to", "not", "repeat", "it", "in", "every", "method", "we", "store", "that", "here" ]
[ "if", "(", "!", "node", "equals", "(", "n", "1", "get", "comment", "(", ")", ",", "n", "2", "get", "comment", "(", ")", ")", ")", "{", "return", "false", ";", "}", "return", "nodes", "equals", "(", "n", "1", "get", "orphan", "comments", "(", ")", ",", "n", "2", "get", "orphan", "comments", "(", ")", ")", ";" ]
[ "set", "the", "{" ]
[ "this", "jdbc", "template", "set", "data", "source", "(", "data", "source", ")", ";" ]
[ "specify", "the", "encoding", "for", "sql", "scripts", "if", "different", "from", "the", "platform", "encoding" ]
[ "this", "sql", "script", "encoding", "=", "sql", "script", "encoding", ";" ]
[ "convenience", "method", "for", "counting", "the", "rows", "in", "the", "given", "table", "using", "the", "provided", "{" ]
[ "return", "jdbc", "test", "utils", "count", "rows", "in", "table", "where", "(", "this", "jdbc", "template", ",", "table", "name", ",", "where", "clause", ")", ";" ]
[ "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-" ]
[ "return", "jdbc", "test", "utils", "delete", "from", "tables", "(", "this", "jdbc", "template", ",", "names", ")", ";" ]
[ "convenience", "method", "for", "deleting", "all", "rows", "from", "the", "given", "table", "using", "the", "provided", "{" ]
[ "return", "jdbc", "test", "utils", "delete", "from", "table", "where", "(", "this", "jdbc", "template", ",", "table", "name", ",", "where", "clause", ",", "args", ")", ";" ]
[ "convenience", "method", "for", "dropping", "all", "of", "the", "specified", "tables", "<", "p", ">", "use", "with", "caution", "outside", "of", "a", "transaction", "!" ]
[ "jdbc", "test", "utils", "drop", "tables", "(", "this", "jdbc", "template", ",", "names", ")", ";" ]
[ "adds", "a", "{", "@", "link", "mapper", "}", "class", "to", "the", "chain", "mapper" ]
[ "job", "set", "mapper", "class", "(", "chain", "mapper", "class", ")", ";", "job", "set", "map", "output", "key", "class", "(", "output", "key", "class", ")", ";", "job", "set", "map", "output", "value", "class", "(", "output", "value", "class", ")", ";", "chain", "add", "mapper", "(", "true", ",", "job", ",", "klass", ",", "input", "key", "class", ",", "input", "value", "class", ",", "output", "key", "class", ",", "output", "value", "class", ",", "mapper", "conf", ")", ";" ]
[ "encoding", "to", "use", "when", "marshalling", "an", "object", "to", "xml", "<", "p", "/", ">", "is", "by", "default", "utf", "-", "8" ]
[ "this", "encoding", "=", "encoding", ";" ]
[ "returns", "the", "result", "of", "a", "{" ]
[ "try", "{", "return", "f", "get", "(", ")", ";", "}", "catch", "(", "execution", "exception", "e", ")", "{", "if", "(", "e", "get", "cause", "(", ")", "instanceof", "i", "o", "exception", ")", "{", "throw", "(", "i", "o", "exception", ")", "e", "get", "cause", "(", ")", ";", "}", "if", "(", "e", "get", "cause", "(", ")", "instanceof", "runtime", "exception", ")", "{", "throw", "(", "runtime", "exception", ")", "e", "get", "cause", "(", ")", ";", "}", "throw", "new", "i", "o", "exception", "(", "e", "get", "cause", "(", ")", ")", ";", "}" ]
[ "{", "@", "inherit", "doc", "}", "<", "p", ">", "<", "p", ">", "the", "default", "{", "@", "link", "abstract", "future", "}", "implementation", "throws", "{", "@", "code", "interrupted", "exception", "}", "if", "the", "current", "thread", "is", "interrupted", "before", "or", "during", "the", "call", "even", "if", "the", "value", "is", "already", "available" ]
[ "return", "sync", "get", "(", "unit", "to", "nanos", "(", "timeout", ")", ")", ";" ]
[ "{", "@", "inherit", "doc", "}", "<", "p", ">", "<", "p", ">", "the", "default", "{", "@", "link", "abstract", "future", "}", "implementation", "throws", "{", "@", "code", "interrupted", "exception", "}", "if", "the", "current", "thread", "is", "interrupted", "before", "or", "during", "the", "call", "even", "if", "the", "value", "is", "already", "available" ]
[ "return", "sync", "get", "(", ")", ";" ]
[ "subclasses", "can", "override", "this", "method", "to", "implement", "interruption", "of", "the", "future", "s", "computation", "the", "method", "is", "invoked", "automatically", "by", "a", "successful", "call", "to", "{", "@", "link", "#", "cancel", "(", "boolean", ")", "cancel", "(", "true", ")", "}", "<", "p", ">", "<", "p", ">", "the", "default", "implementation", "does", "nothing" ]
[]
[ "returns", "true", "if", "this", "future", "was", "cancelled", "with", "{", "@", "code", "may", "interrupt", "if", "running", "}", "set", "to", "{", "@", "code", "true", "}" ]
[ "return", "sync", "was", "interrupted", "(", ")", ";" ]
[ "subclasses", "should", "invoke", "this", "method", "to", "set", "the", "result", "of", "the", "computation", "to", "{", "@", "code", "value", "}", "this", "will", "set", "the", "state", "of", "the", "future", "to", "{", "@", "link", "abstract", "future", "sync", "#", "completed", "}", "and", "invoke", "the", "listeners", "if", "the", "state", "was", "successfully", "changed" ]
[ "boolean", "result", "=", "sync", "set", "(", "value", ")", ";", "if", "(", "result", ")", "{", "execution", "list", "execute", "(", ")", ";", "}", "return", "result", ";" ]
[ "subclasses", "should", "invoke", "this", "method", "to", "set", "the", "result", "of", "the", "computation", "to", "an", "error", "{", "@", "code", "throwable", "}", "this", "will", "set", "the", "state", "of", "the", "future", "to", "{", "@", "link", "abstract", "future", "sync", "#", "completed", "}", "and", "invoke", "the", "listeners", "if", "the", "state", "was", "successfully", "changed" ]
[ "boolean", "result", "=", "sync", "set", "exception", "(", "check", "not", "null", "(", "throwable", ")", ")", ";", "if", "(", "result", ")", "{", "execution", "list", "execute", "(", ")", ";", "}", "return", "result", ";" ]
[ "/", "*", "acquisition", "succeeds", "if", "the", "future", "is", "done", "otherwise", "it", "fails" ]
[ "if", "(", "is", "done", "(", ")", ")", "{", "return", "1", ";", "}", "return", "-", "1", ";" ]
[ "/", "*", "we", "always", "allow", "a", "release", "to", "go", "through", "this", "means", "the", "state", "has", "been", "successfully", "changed", "and", "the", "result", "is", "available" ]
[ "set", "state", "(", "final", "state", ")", ";", "return", "true", ";" ]
[ "checks", "if", "the", "state", "is", "{" ]
[ "return", "(", "get", "state", "(", ")", "&", "(", "completed", "|", "cancelled", "|", "interrupted", ")", ")", "!", "=", "0", ";" ]
[ "checks", "if", "the", "state", "is", "{" ]
[ "return", "(", "get", "state", "(", ")", "&", "(", "cancelled", "|", "interrupted", ")", ")", "!", "=", "0", ";" ]
[ "checks", "if", "the", "state", "is", "{" ]
[ "return", "get", "state", "(", ")", "=", "=", "interrupted", ";" ]
[ "transition", "to", "the", "completed", "state", "and", "set", "the", "value" ]
[ "return", "complete", "(", "v", ",", "null", ",", "completed", ")", ";" ]
[ "transition", "to", "the", "completed", "state", "and", "set", "the", "exception" ]
[ "return", "complete", "(", "null", ",", "t", ",", "completed", ")", ";" ]
[ "transition", "to", "the", "cancelled", "or", "interrupted", "state" ]
[ "return", "complete", "(", "null", ",", "null", ",", "interrupt", "?", "interrupted", ":", "cancelled", ")", ";" ]
[ "returns", "the", "type", "of", "the", "edge" ]
[ "return", "edge", "type", "convert", "(", "m", "edge", "get", "type", "(", ")", ")", ";" ]
[ "get", "string", "preferences" ]
[ "return", "get", "string", "(", "context", ",", "key", ",", "\"", "\"", ")", ";" ]
[ "get", "string", "preferences" ]
[ "return", "get", "string", "(", "context", ",", "preference", "name", ",", "key", ",", "default", "value", ")", ";" ]
[ "put", "int", "preferences" ]
[ "return", "put", "int", "(", "context", ",", "preference", "name", ",", "key", ",", "value", ")", ";" ]
[ "get", "int", "preferences" ]
[ "return", "get", "int", "(", "context", ",", "key", ",", "-", "1", ")", ";" ]
[ "get", "int", "preferences" ]
[ "return", "get", "int", "(", "context", ",", "preference", "name", ",", "key", ",", "default", "value", ")", ";" ]
[ "put", "long", "preferences" ]
[ "return", "put", "long", "(", "context", ",", "preference", "name", ",", "key", ",", "value", ")", ";" ]
[ "get", "long", "preferences" ]
[ "return", "get", "long", "(", "context", ",", "key", ",", "-", "1", ")", ";" ]
[ "get", "long", "preferences" ]
[ "return", "get", "long", "(", "context", ",", "preference", "name", ",", "key", ",", "default", "value", ")", ";" ]
[ "put", "float", "preferences" ]
[ "return", "put", "float", "(", "context", ",", "preference", "name", ",", "key", ",", "value", ")", ";" ]
[ "get", "float", "preferences" ]
[ "return", "get", "float", "(", "context", ",", "key", ",", "-", "1", ")", ";" ]
[ "get", "float", "preferences" ]
[ "return", "get", "float", "(", "context", ",", "preference", "name", ",", "key", ",", "default", "value", ")", ";" ]
[ "put", "boolean", "preferences" ]
[ "return", "put", "boolean", "(", "context", ",", "preference", "name", ",", "key", ",", "value", ")", ";" ]
[ "get", "boolean", "preferences", "default", "is", "false" ]
[ "return", "get", "boolean", "(", "context", ",", "key", ",", "false", ")", ";" ]
[ "get", "boolean", "preferences" ]
[ "return", "get", "boolean", "(", "context", ",", "preference", "name", ",", "key", ",", "default", "value", ")", ";" ]
[ "should", "the", "secure", "protocol", "be", "used", "to", "ping" ]
[ "this", "is", "secure", "=", "is", "secure", ";" ]
[ "is", "there", "a", "particular", "content", "you", "are", "hoping", "to", "see", "?", "if", "so", "-", "set", "this", "here", "for", "e", "g", "the", "wcs", "server", "sets", "the", "content", "body", "to", "be", "true", "please", "be", "advised", "that", "this", "content", "should", "match", "the", "actual", "content", "exactly", "for", "this", "to", "work", "else", "yo", "may", "get", "false", "status" ]
[ "this", "expected", "content", "=", "expected", "content", ";" ]
[ "returns", "the", "number", "of", "clusters" ]
[ "return", "k", ";" ]