SHARE
TWEET

Untitled

a guest Sep 16th, 2019 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. System.debug('AggregateQueries: '+Limits.getAggregateQueries() +' / '+  Limits.getLimitAggregateQueries());
  2. System.debug('AsyncCalls: '+Limits.getAsyncCalls() +' / '+  Limits.getLimitAsyncCalls());
  3. System.debug('Callouts: '+Limits.getCallouts() +' / '+  Limits.getLimitCallouts());
  4. System.debug('CpuTime: '+Limits.getCpuTime() +' / '+  Limits.getLimitCpuTime());
  5. System.debug('DMLRows: '+Limits.getDMLRows() +' / '+  Limits.getLimitDMLRows());
  6. System.debug('DMLStatements: '+Limits.getDMLStatements() +' / '+  Limits.getLimitDMLStatements());
  7. System.debug('EmailInvocations: '+Limits.getEmailInvocations() +' / '+  Limits.getLimitEmailInvocations());
  8. System.debug('FindSimilarCalls: '+Limits.getFindSimilarCalls() +' / '+  Limits.getLimitFindSimilarCalls());
  9. System.debug('FutureCalls: '+Limits.getFutureCalls() +' / '+  Limits.getLimitFutureCalls());
  10. System.debug('HeapSize: '+Limits.getHeapSize() +' / '+  Limits.getLimitHeapSize());
  11. System.debug('MobilePushApexCalls: '+Limits.getMobilePushApexCalls() +' / '+  Limits.getLimitMobilePushApexCalls());
  12. System.debug('Queries: '+Limits.getQueries() +' / '+  Limits.getLimitQueries());
  13. System.debug('QueryLocatorRows: '+Limits.getQueryLocatorRows() +' / '+  Limits.getLimitQueryLocatorRows());
  14. System.debug('QueryRows: '+Limits.getQueryRows() +' / '+  Limits.getLimitQueryRows());
  15. System.debug('QueueableJobs: '+Limits.getQueueableJobs() +' / '+  Limits.getLimitQueueableJobs());
  16. System.debug('RunAs: '+Limits.getRunAs() +' / '+  Limits.getLimitRunAs());
  17. System.debug('SavepointRollbacks: '+Limits.getSavepointRollbacks() +' / '+  Limits.getLimitSavepointRollbacks());
  18. System.debug('Savepoints: '+Limits.getSavepoints() +' / '+  Limits.getLimitSavepoints());
  19. System.debug('SoslQueries: '+Limits.getSoslQueries() +' / '+  Limits.getLimitSoslQueries());
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top