id stringlengths 7 14 | text stringlengths 1 106k |
|---|---|
1421692_3 | public static Class<?>[] getClasses(String packageName) throws ClassNotFoundException, IOException {
ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
assert classLoader != null;
String path = packageName.replace('.', '/');
Enumeration<URL> resources = classLoader.getResources(path);
List<F... |
1421692_4 | public boolean matches(Date date) {
Calendar calendar = Calendar.getInstance();
calendar.setTime(date);
for (int i = 0; i < 7; i++) {
Field field = fields[i];
if (null != field && !field.isBlank() && !field.matches(calendar)) {
return false;
}
}
return true;
} |
1421692_5 | public Date next(Date date) {
Calendar calendar = new GregorianCalendar();
calendar.setTime(date);
calendar.add(Calendar.SECOND, 1);
calendar.set(Calendar.MILLISECOND, 0);
next0(calendar);
return calendar.getTime();
} |
1421692_6 | public boolean matches(Map<String, String> targets, BWResult result) throws IllegalStateException {
return this.data.matches(targets, result);
} |
1421692_7 | public static boolean containsKey(Map<?, ?> map, Object key) {
if (null == map) {
return false;
}
return map.containsKey(key);
} |
1421692_8 | @SuppressWarnings("unchecked")
public static Set<String> getKeys(Map<String, Object> map, Set<String> keys) {
if (org.apache.commons.collections4.MapUtils.isEmpty(map)) {
throw new IllegalArgumentException("map can not be null");
}
if (org.apache.commons.collections4.CollectionUtils.isEmpty(keys)) {
keys = new H... |
1421692_9 | @SuppressWarnings("unchecked")
public static Set<String> getKeys(Map<String, Object> map, Set<String> keys) {
if (org.apache.commons.collections4.MapUtils.isEmpty(map)) {
throw new IllegalArgumentException("map can not be null");
}
if (org.apache.commons.collections4.CollectionUtils.isEmpty(keys)) {
keys = new H... |
1443269_0 | @Override
public List<String> getClusterList(boolean useCache) {
if (useCache) {
return new ArrayList<String>(_clusters.get());
}
long s = System.nanoTime();
try {
checkIfOpen();
return _zk.getChildren(ZookeeperPathConstants.getClustersPath(), false);
} catch (KeeperException e) {
throw new Ru... |
1443269_1 | @Override
public boolean isInSafeMode(boolean useCache, String cluster) {
if (useCache) {
Long safeModeTimestamp = _safeModeMap.get(cluster);
if (safeModeTimestamp != null && safeModeTimestamp != Long.MIN_VALUE) {
return safeModeTimestamp < System.currentTimeMillis() ? false : true;
}
}
long s =... |
1443269_2 | @Override
public boolean isInSafeMode(boolean useCache, String cluster) {
if (useCache) {
Long safeModeTimestamp = _safeModeMap.get(cluster);
if (safeModeTimestamp != null && safeModeTimestamp != Long.MIN_VALUE) {
return safeModeTimestamp < System.currentTimeMillis() ? false : true;
}
}
long s =... |
1443269_3 | @Override
public boolean isInSafeMode(boolean useCache, String cluster) {
if (useCache) {
Long safeModeTimestamp = _safeModeMap.get(cluster);
if (safeModeTimestamp != null && safeModeTimestamp != Long.MIN_VALUE) {
return safeModeTimestamp < System.currentTimeMillis() ? false : true;
}
}
long s =... |
1443269_4 | @Override
public String getCluster(boolean useCache, String table) {
if (useCache) {
for (Entry<String, Set<String>> entry : _tablesPerCluster.entrySet()) {
if (entry.getValue().contains(table)) {
return entry.getKey();
}
}
}
List<String> clusterList = getClusterList(useCache);
for (... |
1443269_5 | @Override
public List<String> getTableList(boolean useCache, String cluster) {
if (useCache) {
Set<String> tables = _tablesPerCluster.get(cluster);
if (tables != null) {
return new ArrayList<String>(tables);
}
}
long s = System.nanoTime();
try {
checkIfOpen();
return _zk.getChildren(Zo... |
1443269_6 | @Override
public boolean isEnabled(boolean useCache, String cluster, String table) {
if (useCache) {
Boolean e = _enabled.get(getClusterTableKey(cluster, table));
if (e != null) {
return e;
}
}
long s = System.nanoTime();
String tablePathIsEnabled = ZookeeperPathConstants.getTableEnabledPath(c... |
1443269_7 | public void fetchRow(String table, Selector selector, FetchResult fetchResult) throws BlurException {
validSelector(selector);
BlurIndex index;
try {
if (selector.getLocationId() == null) {
populateSelector(table, selector);
}
String locationId = selector.getLocationId();
if (locationId.equa... |
1443269_8 | public void fetchRow(String table, Selector selector, FetchResult fetchResult) throws BlurException {
validSelector(selector);
BlurIndex index;
try {
if (selector.getLocationId() == null) {
populateSelector(table, selector);
}
String locationId = selector.getLocationId();
if (locationId.equa... |
1443269_9 | public void fetchRow(String table, Selector selector, FetchResult fetchResult) throws BlurException {
validSelector(selector);
BlurIndex index;
try {
if (selector.getLocationId() == null) {
populateSelector(table, selector);
}
String locationId = selector.getLocationId();
if (locationId.equa... |
1446919_0 | public void process( int number ) {
/* The same as above */
for ( int i = 0; i < number; i++) {
everyTime( i );
if ( i % blockSize == blockSize - 1 || i == number - 1 ) {
everyBlock( i );
}
}
blocksComplete();
} |
1446919_1 | public void process( int number ) {
/* The same as above */
for ( int i = 0; i < number; i++) {
everyTime( i );
if ( i % blockSize == blockSize - 1 || i == number - 1 ) {
everyBlock( i );
}
}
blocksComplete();
} |
1446919_2 | public void process( int number ) {
/* The same as above */
for ( int i = 0; i < number; i++) {
everyTime( i );
if ( i % blockSize == blockSize - 1 || i == number - 1 ) {
everyBlock( i );
}
}
blocksComplete();
} |
1446919_3 | public void process( int number ) {
/* The same as above */
for ( int i = 0; i < number; i++) {
everyTime( i );
if ( i % blockSize == blockSize - 1 || i == number - 1 ) {
everyBlock( i );
}
}
blocksComplete();
} |
1446919_4 | public String get() throws DataFormatException {
return decode(encodedData);
} |
1446919_5 | public float getScore(float scoreFactor) {
assert inverseValueAtBoundary >= 1f : "value at boundary must be <= 1, so inverse must be >= 1";
// scoreFactor: 1.0 -> -infinity (any negative value)
// turn into range of zero -> infinity
float x = 1.0f - scoreFactor;
// Power up our scoreFactor to ... |
1446919_6 | public String checkName(String name) {
build();
String rval = checkName(name, malesDB);
if (rval == null) {
rval = checkName(name, femalesDB);
}
return rval;
} |
1446919_7 | public String checkName(String name) {
build();
String rval = checkName(name, malesDB);
if (rval == null) {
rval = checkName(name, femalesDB);
}
return rval;
} |
1446919_8 | public String checkName(String name) {
build();
String rval = checkName(name, malesDB);
if (rval == null) {
rval = checkName(name, femalesDB);
}
return rval;
} |
1446919_9 | public String checkName(String name) {
build();
String rval = checkName(name, malesDB);
if (rval == null) {
rval = checkName(name, femalesDB);
}
return rval;
} |
1450115_0 | public DerivedBuilder derive() {
return new Builder(this);
} |
1450115_1 | @Override
public final Void onCompleted() {
if (delegateTerminated.getAndSet(true)) {
return null;
}
final T result;
try {
result = delegate().onCompleted();
} catch (final Throwable t) {
emitOnError(t);
return null;
}
if (!emitter.isDisposed()) {
if (result == null) {
emitter.on... |
1450115_2 | @Override
public final void onThrowable(Throwable t) {
if (delegateTerminated.getAndSet(true)) {
return;
}
Throwable error = t;
try {
delegate().onThrowable(t);
} catch (final Throwable x) {
error = new CompositeException(Arrays.asList(t, x));
}
emitOnError(error);
} |
1450115_3 | @Override
public final Void onCompleted() {
if (delegateTerminated.getAndSet(true)) {
return null;
}
final T result;
try {
result = delegate().onCompleted();
} catch (final Throwable t) {
emitOnError(t);
return null;
}
if (!emitter.isDisposed()) {
if (result == null) {
emitter.on... |
1450115_4 | @Override
public final void onThrowable(Throwable t) {
if (delegateTerminated.getAndSet(true)) {
return;
}
Throwable error = t;
try {
delegate().onThrowable(t);
} catch (final Throwable x) {
error = new CompositeException(Arrays.asList(t, x));
}
emitOnError(error);
} |
1450115_5 | @Override
public final Void onCompleted() {
if (delegateTerminated.getAndSet(true)) {
return null;
}
final T result;
try {
result = delegate().onCompleted();
} catch (final Throwable t) {
emitOnError(t);
return null;
}
if (!emitter.isDisposed()) {
if (result == null) {
emitter.on... |
1450115_6 | @Override
public final void onThrowable(Throwable t) {
if (delegateTerminated.getAndSet(true)) {
return;
}
Throwable error = t;
try {
delegate().onThrowable(t);
} catch (final Throwable x) {
error = new CompositeException(Arrays.asList(t, x));
}
emitOnError(error);
} |
1450115_7 | @Override
public final void onThrowable(Throwable t) {
if (delegateTerminated.getAndSet(true)) {
return;
}
Throwable error = t;
try {
delegate().onThrowable(t);
} catch (final Throwable x) {
error = new CompositeException(Arrays.asList(t, x));
}
emitOnError(error);
} |
1450115_8 | @Override
public final void onThrowable(Throwable t) {
if (delegateTerminated.getAndSet(true)) {
return;
}
Throwable error = t;
try {
delegate().onThrowable(t);
} catch (final Throwable x) {
error = new CompositeException(Arrays.asList(t, x));
}
emitOnError(error);
} |
1450115_9 | @Override
public <T> Maybe<T> prepare(Request request, Supplier<? extends AsyncHandler<T>> handlerSupplier) {
requireNonNull(request);
requireNonNull(handlerSupplier);
return Maybe.create(emitter -> {
final AsyncHandler<?> bridge = createBridge(emitter, handlerSupplier.get());
final Future<?> responseFutu... |
1452945_0 | public AbstractPE getPE(String keyValue) {
AbstractPE pe = null;
try {
pe = (AbstractPE) lookupTable.get(keyValue);
if (pe == null) {
pe = (AbstractPE) prototype.clone();
pe.initInstance();
}
// update the last update time on the entry
lookupTable.... |
1458461_0 | public void setPersistenceUnit(String pU) {
this.persistenceUnit = pU;
} |
1458461_1 | public void setPropertyFile(File file) {
this.propertyFile = file;
} |
1458461_2 | public void setConfigFile(File file) {
this.configFile = file;
} |
1458461_3 | public void setType(String type) {
this.type = Type.valueOf(type.toUpperCase());
} |
1458461_4 | public void addConfiguredFileSet(FileSet fileSet) {
fileSets.add(fileSet);
} |
1458461_5 | public MetadataTask createMetadata() {
this.metadataTask = new MetadataTask();
return this.metadataTask;
} |
1458461_6 | public ExportDdlTask createExportDdl() {
return new ExportDdlTask();
} |
1458461_7 | public ExportCfgTask createExportCfg() {
this.exportCfgTask = new ExportCfgTask(this);
return this.exportCfgTask;
} |
1458461_8 | public void execute() {
if (exportCfgTask != null) {
exportCfgTask.getProperties().put(
ExporterConstants.METADATA_DESCRIPTOR,
metadataTask.createMetadataDescriptor());
exportCfgTask.execute();
}
} |
1458461_9 | public ExportCfgTask(HibernateToolTask parent) {
this.parent = parent;
} |
1459400_0 | public void clear() throws IOException {
rewound = false;
diskObjectCount = 0;
list.clear();
if (raFile != null) {
raFile.seek(0);
raFile.setLength(0);
}
} |
1459953_0 | @Override
public JndiDTO[] getData() throws NamingException {
return list("");
} |
1459953_1 | @Override
public JndiDTO[] list(final String name) throws NamingException {
return execute(new ContextCallback<JndiDTO[]>() {
@Override
public JndiDTO[] doInJndi(Context context) throws NamingException {
NamingEnumeration<NameClassPair> namingEnum=null;
try {
namingEnum=context.list(fixName(name));
S... |
1459953_2 | @Override
public JndiDTO lookup(final String name) throws NamingException {
return execute(new ContextCallback<JndiDTO>() {
@Override
public JndiDTO doInJndi(Context context) throws NamingException {
String fullName=fixName(name);
String simpleName;
Object object;
if (fullName.isEmpty()) {
object =... |
1459953_3 | public Contact createContact(String firstname, String lastname) {
Contact contact = new Contact();
contact.setFirstname(firstname);
contact.setLastname(lastname);
contactDao.createContact(contact);
return contact;
} |
1459953_4 | public static <I, O> Function<I, Try<O>> of(ThrowingFunction<I, O> function) {
return input -> {
try {
O result = function.apply(input);
return new Success<>(result);
} catch (RuntimeException e) {
throw e; // we don't want to wrap runtime exceptions
} cat... |
1459953_5 | public <F> Try<F> map(Function<E, F> mapper) {
return flatMap(of(result -> mapper.apply(result)));
} |
1459953_6 | public Optional<E> toOption() {
return isSuccess() ? Optional.ofNullable(asSuccess().getResult()) : Optional.<E>empty();
} |
1459953_7 | public Optional<E> toOption() {
return isSuccess() ? Optional.ofNullable(asSuccess().getResult()) : Optional.<E>empty();
} |
1459953_8 | public static <I, O> Function<I, Try<O>> of(ThrowingFunction<I, O> function) {
return input -> {
try {
O result = function.apply(input);
return new Success<>(result);
} catch (RuntimeException e) {
throw e; // we don't want to wrap runtime exceptions
} cat... |
1459953_9 | public static <E> Collector<Try<E>, ?, Map<Type, List<Try<E>>>> groupingBySuccess() {
return Collectors.groupingBy(t -> t.getType());
} |
1463490_0 | @Override
public void execute() throws MojoExecutionException, MojoFailureException
{
try {
JAXBContext context = JAXBContext.newInstance("org.xwiki.rest.model.jaxb");
Unmarshaller unmarshaller = context.createUnmarshaller();
Marshaller marshaller = context.createMarshaller();
HttpCl... |
1463490_1 | @Override
protected void validate(Document document)
{
// RPD 1
validateRpd1s1();
validateRpd1s2();
validateRpd1s3();
// RPD 2
validateRpd2s1();
validateRpd2s2();
validateRpd2s3();
validateRpd2s4();
validateRpd2s5();
validateRpd2s6();
validateRpd2s7();
validateRpd2s8(... |
1463490_2 | @Override
protected void validate(Document document)
{
// RPD 1
validateRpd1s1();
validateRpd1s2();
validateRpd1s3();
// RPD 2
validateRpd2s1();
validateRpd2s2();
validateRpd2s3();
validateRpd2s4();
validateRpd2s5();
validateRpd2s6();
validateRpd2s7();
validateRpd2s8(... |
1463490_3 | public void validateRpd1s3()
{
// Links validation.
Elements linkElements = getElements("a");
// Links must not use javascript in href.
for (String hrefValue : getAttributeValues(linkElements, "href")) {
assertFalse(Type.ERROR, "rpd1s3.javascript", hrefValue.startsWith("javascript:"));
}
... |
1463490_4 | public void validateRpd1s3()
{
// Links validation.
Elements linkElements = getElements("a");
// Links must not use javascript in href.
for (String hrefValue : getAttributeValues(linkElements, "href")) {
assertFalse(Type.ERROR, "rpd1s3.javascript", hrefValue.startsWith("javascript:"));
}
... |
1463490_5 | public void validateRpd1s3()
{
// Links validation.
Elements linkElements = getElements("a");
// Links must not use javascript in href.
for (String hrefValue : getAttributeValues(linkElements, "href")) {
assertFalse(Type.ERROR, "rpd1s3.javascript", hrefValue.startsWith("javascript:"));
}
... |
1463490_6 | public void validateRpd1s3()
{
// Links validation.
Elements linkElements = getElements("a");
// Links must not use javascript in href.
for (String hrefValue : getAttributeValues(linkElements, "href")) {
assertFalse(Type.ERROR, "rpd1s3.javascript", hrefValue.startsWith("javascript:"));
}
... |
1463490_7 | public void validateRpd1s3()
{
// Links validation.
Elements linkElements = getElements("a");
// Links must not use javascript in href.
for (String hrefValue : getAttributeValues(linkElements, "href")) {
assertFalse(Type.ERROR, "rpd1s3.javascript", hrefValue.startsWith("javascript:"));
}
... |
1463490_8 | public void validateRpd1s3()
{
// Links validation.
Elements linkElements = getElements("a");
// Links must not use javascript in href.
for (String hrefValue : getAttributeValues(linkElements, "href")) {
assertFalse(Type.ERROR, "rpd1s3.javascript", hrefValue.startsWith("javascript:"));
}
... |
1463490_9 | public void validateRpd1s3()
{
// Links validation.
Elements linkElements = getElements("a");
// Links must not use javascript in href.
for (String hrefValue : getAttributeValues(linkElements, "href")) {
assertFalse(Type.ERROR, "rpd1s3.javascript", hrefValue.startsWith("javascript:"));
}
... |
1469749_0 | public boolean match(String ipIn) throws IPMatcherException
{
byte[] candidate;
if (ipIn.indexOf(':') < 0)
{
candidate = new byte[4];
ipToBytes(ipIn, candidate, true);
candidate = ip4ToIp6(candidate);
}
else
try
{
candidate = Inet6Address.getByName... |
1469749_1 | public boolean match(String ipIn) throws IPMatcherException
{
byte[] candidate;
if (ipIn.indexOf(':') < 0)
{
candidate = new byte[4];
ipToBytes(ipIn, candidate, true);
candidate = ip4ToIp6(candidate);
}
else
try
{
candidate = Inet6Address.getByName... |
1469749_2 | public boolean match(String ipIn) throws IPMatcherException
{
byte[] candidate;
if (ipIn.indexOf(':') < 0)
{
candidate = new byte[4];
ipToBytes(ipIn, candidate, true);
candidate = ip4ToIp6(candidate);
}
else
try
{
candidate = Inet6Address.getByName... |
1469749_3 | public DSpaceCSV(boolean exportAll)
{
// Initialise the class
init();
// Store the exportAll setting
this.exportAll = exportAll;
} |
1469749_4 | static Item create(Context context) throws SQLException, AuthorizeException
{
TableRow row = DatabaseManager.create(context, "item");
Item i = new Item(context, row);
// Call update to give the item a last modified date. OK this isn't
// amazingly efficient but creates don't happen that often.
conte... |
1469749_5 | public static ItemIterator findAll(Context context) throws SQLException
{
String myQuery = "SELECT * FROM item WHERE in_archive='1'";
TableRowIterator rows = DatabaseManager.queryTable(context, "item", myQuery);
return new ItemIterator(context, rows);
} |
1469749_6 | public static ItemIterator findBySubmitter(Context context, EPerson eperson)
throws SQLException
{
String myQuery = "SELECT * FROM item WHERE in_archive='1' AND submitter_id="
+ eperson.getID();
TableRowIterator rows = DatabaseManager.queryTable(context, "item", myQuery);
return new Item... |
1469749_7 | public int getID()
{
return itemRow.getIntColumn("item_id");
} |
1469749_8 | public String getHandle()
{
if(handle == null) {
try {
handle = HandleManager.findHandle(this.ourContext, this);
} catch (SQLException e) {
// TODO Auto-generated catch block
//e.printStackTrace();
... |
1469749_9 | public boolean isArchived()
{
return itemRow.getBooleanColumn("in_archive");
} |
1475915_0 | public String mapProxyToHidden(String proxyUrl) {
String path = extractPath(proxyUrl, proxyDomain, proxyResource);
return extractProtocol(proxyUrl) + SEP + hiddenDomain + path;
} |
1475915_1 | public String mapHiddenToProxy(String hiddenUrl) {
String path = extractPath(hiddenUrl, hiddenDomain, "");
return extractProtocol(hiddenUrl) + SEP + proxy + path;
} |
1475915_2 | public Mapping findByProxyUrl(String proxyUrl) {
String noProtocol= substringAfter(proxyUrl, SEP);
for (Mapping mapping: this) {
if (startsWithIgnoreCase(noProtocol, mapping.proxy)) return mapping;
}
return null;
} |
1475915_3 | public Mapping findByHiddenUrl(String hiddenUrl) {
String noProtocol= substringAfter(hiddenUrl, SEP);
for (Mapping mapping: this) {
if (startsWithIgnoreCase(noProtocol, mapping.hiddenDomain)) return mapping;
}
return null;
} |
1475915_4 | public String translate(String text) {
for (TagTranslator translator : tagTranslators) {
text= translator.translate(text);
}
return text;
} |
1475915_5 | public String mapContentUrl(String url) {
if (isEmpty(url)) return EMPTY;
if (startsWith(url, "/")) {
url = currentMapping.proxyResource + url;
}
url= mapFullUrlIfCan(url);
return url;
} |
1475915_6 | @VisibleForTesting
String translateTag(String tag) {
Tuple3<Integer, Integer, String> value = attributeValue(tag);
if (value.isNull()) return tag;
String newUrl = urlMapper.mapContentUrl(value.e3);
return left(tag, value.e1) + dquoteAround(newUrl) + substring(tag, value.e2);
} |
1475915_7 | @VisibleForTesting
Tuple3<Integer, Integer, String> attributeValue(String tag) {
String normalized= TextTools.removeControlChars(tag);
List<Tuple3<Integer, Integer, String>> matches = RegexTools.findAll(attributePattern, normalized, true);
if (matches.isEmpty()) return Tuple3.nil();
Tuple3<Integer, Integer, ... |
1475915_8 | @VisibleForTesting
static Mappings readMappings(PropertiesFile propertiesFile) {
Mappings mappings= new Mappings();
PropertiesFile subset = propertiesFile.subset("mapping.");
for(String key: subset.keys()) {
String value = subset.getString(key);
mappings.add( new Mapping(value) );
}
return mappi... |
1475915_9 | public static String removeControlChars(String text) {
StringBuilder sb= new StringBuilder();
for (int i=0, n=StringUtils.length(text) ; i<n; i++) {
char ch= text.charAt(i);
if (ch < ' ') ch= ' ';
sb.append(ch);
}
return sb.toString();
} |
1481910_0 | public boolean validate(TypeElement element) {
IsValid valid = new IsValid();
if (element.getKind() != ElementKind.CLASS) {
valid.invalidate();
printBuildableError(element, "%s can only be used on class");
}
if (element.getEnclosingElement().getKind() != ElementKind.PACKAGE) {
valid.invalidate();
printBuild... |
1481910_1 | public boolean validate(TypeElement element) {
IsValid valid = new IsValid();
if (element.getKind() != ElementKind.CLASS) {
valid.invalidate();
printBuildableError(element, "%s can only be used on class");
}
if (element.getEnclosingElement().getKind() != ElementKind.PACKAGE) {
valid.invalidate();
printBuild... |
1481910_2 | public boolean isValid() {
return valid;
} |
1481910_3 | @Override
public OutputStream openBinary(JPackage pkg, String fileName) throws IOException {
FileObject resource = filer.createResource(StandardLocation.SOURCE_OUTPUT, pkg.name(), fileName);
return resource.openOutputStream();
} |
1481910_4 | @Override
public OutputStream openBinary(JPackage pkg, String fileName) throws IOException {
FileObject resource = filer.createResource(StandardLocation.SOURCE_OUTPUT, pkg.name(), fileName);
return resource.openOutputStream();
} |
1481910_5 | @Override
public OutputStream openBinary(JPackage pkg, String fileName) throws IOException {
String qualifiedClassName = toQualifiedClassName(pkg, fileName);
JavaFileObject sourceFile = filer.createSourceFile(qualifiedClassName);
return sourceFile.openOutputStream();
} |
1481910_6 | @Override
public OutputStream openBinary(JPackage pkg, String fileName) throws IOException {
String qualifiedClassName = toQualifiedClassName(pkg, fileName);
JavaFileObject sourceFile = filer.createSourceFile(qualifiedClassName);
return sourceFile.openOutputStream();
} |
1481910_7 | public String getStringField() {
return stringField;
} |
1481910_8 | public Integer getIntegerField() {
return integerField;
} |
1484463_0 | @VisibleForTesting
void writeJsonForInMemoryChunks(final JsonGenerator generator, final ObjectWriter writer, final Map<Integer, Map<Integer, DecimatingSampleFilter>> filters, final List<Integer> hostIdsList,
final List<Integer> sampleKindIdsList, @Nullable final DateTime startTime, @Null... |
1484463_1 | public void getAndProcessTimelineAggregationCandidates()
{
if (!isAggregating.compareAndSet(false, true)) {
log.info("Asked to aggregate, but we're already aggregating!");
return;
}
else {
log.debug("Starting aggregating");
}
aggregationRuns.incrementAndGet();
final Strin... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.