public class StoredProcedures extends Object
| Constructor and Description |
|---|
StoredProcedures() |
| Modifier and Type | Method and Description |
|---|---|
static void |
allocateSlot(String slotId,
String uploader,
String domain,
String res,
String filename,
Long filesize,
String contentType,
ResultSet[] data) |
static void |
getSlot(String slotId,
ResultSet[] data) |
static void |
listExpiredSlots(String domain,
Timestamp ts,
Integer max,
ResultSet[] data) |
static void |
removeExpiredSlots(String domain,
Timestamp ts,
Integer max) |
static void |
updateSlot(String slotId) |
public static void allocateSlot(String slotId, String uploader, String domain, String res, String filename, Long filesize, String contentType, ResultSet[] data) throws SQLException
SQLExceptionpublic static void getSlot(String slotId, ResultSet[] data) throws SQLException
SQLExceptionpublic static void listExpiredSlots(String domain, Timestamp ts, Integer max, ResultSet[] data) throws SQLException
SQLExceptionpublic static void removeExpiredSlots(String domain, Timestamp ts, Integer max) throws SQLException
SQLExceptionpublic static void updateSlot(String slotId) throws SQLException
SQLExceptionCopyright © 2013–2019 Tigase. All rights reserved.