public class GPUdbFileHandlerUtils extends Object
Constructor and Description |
---|
GPUdbFileHandlerUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
awaitTerminationAfterShutdown(ExecutorService threadPool,
long timeout)
Terminate a thread pool after waiting for a given vaue of 'timeout'
|
static com.fasterxml.jackson.databind.ObjectMapper |
getJacksonObjectMapper() |
static String |
joinStrings(List<String> stringList) |
static String |
joinStrings(List<String> stringList,
char separator) |
static ByteBuffer |
merge(List<ByteBuffer> byteBuffers)
Merge a list of buffers into a single buffer.
|
static <T> Set<T> |
setDifference(Set<T> setA,
Set<T> setB) |
static <T> Set<T> |
setIntersection(Set<T> setA,
Set<T> setB) |
public static ByteBuffer merge(List<ByteBuffer> byteBuffers)
byteBuffers
- list of ByteBuffer objectspublic static void awaitTerminationAfterShutdown(ExecutorService threadPool, long timeout)
threadPool
- public static com.fasterxml.jackson.databind.ObjectMapper getJacksonObjectMapper()
Copyright © 2024. All rights reserved.